[CODE] Hmm

From: Chuck Reed (creed@I-55.COM)
Date: 12/11/97


Can anyone please explain how this happens when someone is standing in room
10000 this happens:

int get_abil_desc(struct char_data *ch)
{
int rnum;

rnum = ch->in_room;
return rnum;

}

sprintf(buf, "%d", get_abil_desc(ch));
send_to_char(buf, ch);

This writes the number 3 to the players screen!  I have looked for a
previous change of ch->in_room but I can't find it.  Could there be any
other reason?

Chuck


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



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