Daniel Muller's clan patch

From: Edward J Glamkowski (eglamkowski@angelfire.com)
Date: 06/06/99


Found a minor couple problems with it - please ignore
this if they are already well known, but this is the
first time I am looking at this code myself :O


I don't know about the rest of you, but when I edit
a clan, I don't know the rnum's of rooms, so I enter
a vnum for the clan room.  Unfortunately, whenever it
checks for being in a clan room (such as when
depositing or withdrawing money), it checks against
ch->in_room, which is an rnum, not a vnum.
Quick fix:
change:
if (ch->in_room != CLANROOM(clan_index[players_clannum]))

to:
if (ch->in_room != realroom(CLANROOM(clan_index[players_clannum]))) {

everywhere it occurs.

It's otherwise a good and interesting patch :)

---
eglamkowski@angelfire.com
http://www.angelfire.com/nj/eglamkowski/null.html <- Null webring
http://www.angelfire.com/nj/eglamkowski/eia.html  <- EiA webring




Angelfire for your free web-based e-mail. http://www.angelfire.com


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST