Re: [Code]Auto-equip Snippet

From: Daniel Koepke (dkoepke@california.com)
Date: 02/20/97


On Thu, 20 Feb 1997, Chris Rehbein wrote:

>   Still on the subject, is the correct room to pass to save_char ch->in_room
> or is it world[ch->in_room].number?  Or does it matter which is used?  

Of course it matters. One is a real number (ch->in_room) and the other
is a virtual number (world[ch->in_room].number). Real numbers are
assigned at bootup (hence they can/do change with every boot).  You
should use the real number, as save_char() automatically changes it to
the virtual for convenience.


--
Daniel Koepke
dkoepke@california.com
Forgive me father, for I am sin.


+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
|    Or send 'info circle' to majordomo@cspo.queensu.ca     |
+-----------------------------------------------------------+



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