[Circle] Re: problem with saving load_room

From: WarRat (warrat@erinet.com)
Date: 08/12/96

At 01:01 PM 8/12/96 -0400, you wrote:
>I want the character's current room to save when they quit so that they
will load there upon reentering the game.  I see where the room is saved in
save_char(), but where does it load it?
>I think I have found the spot in interpreter.c, but somewhere it always
sets the load room to NOWHERE, and loads at the start room.

In act.other.c at the end of do_quit() is whre you want.  It only saves your
currect position if you are saving in a house, otherwie it saves you to 0 -

Rem out the line about if this is a house and have it save everyone in their
current position.

                            #  \O/
10,000 lemmings#    |
can't all be wrong#   / \    
                            #  .. .     warrat@erinet.com
                            #  . . .
                            # #..# .

       Happy shall he be, that taketh and dasheth thy little ones 
       against the stones.
                                  Psalms 137:9 

| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |

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