ACMD(do_quit) { - sh_int save_room; struct descriptor_data *d, *next_d; if (IS_NPC(ch) || !ch->desc) @@ -104,14 +104,13 @@ ACMD(do_quit) STATE(d) = CON_DISCONNECT; } - save_room = ch->in_room; if (free_rent) Crash_rentsave(ch, 0); extract_char(ch); /* Char is saved in extract char */ /* If someone is quitting in their house, let them load back here */ - if (ROOM_FLAGGED(save_room, ROOM_HOUSE)) - save_char(ch, save_room); + if (ROOM_FLAGGED(ch->in_room, ROOM_HOUSE)) + save_char(ch, ch->in_room); } } Now, in case you didn't see it... extract_char() followed by usage of ch->in_room... - Chris Jacobson +------------------------------------------------------------+ | 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