[CODE]Loadroom

From: Luca (wetwork@terra.com.br)
Date: 07/27/01


I'm trying to make the players return to the last room they were when they
quit but i don't know what i'm doing wrong, i did this in act.other.c in
function do_quit:
     if (GET_LEVEL(ch) < LVL_IMPL) {
       SET_BIT(PRF_FLAGS(ch), PLR_LOADROOM);
       GET_LOADROOM(ch) = GET_ROOM_VNUM(IN_ROOM(ch));
but it's not working.
Anyone knows how to do this?
Thanks
Luca

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/06/01 PST