try GET_LOADROOM(ch) = world[ch->in_room].number
the in_room is a real room number and GET_LOADROOM(ch) wants the vnum of
the room
Son of Ra, Brother of Poseidon
On Tue, 17 Feb 1998, Shaw Mead wrote:
> I wanted to save the char in the room he quits so he will come back to
> that room when he returns. To do this I greped for save_char and replaced
> every instance with save_char(ch, NOWHERE) with save_char(ch, ch->in_room)
> but it didn't seem to work. I tried to follow the functions, from quit to
> extract to save_char and I put GET_LOADROOM(ch) = ch->in_room; in a place
> I though was logical but that didn't work either...
>
> What am I missing?
> -Shaw
>
>
> +------------------------------------------------------------+
> | Ensure that you have read the CircleMUD Mailing List FAQ: |
> | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
> +------------------------------------------------------------+
>
+------------------------------------------------------------+
| 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/15/00 PST