ch->in_room refers to the real room number (ie: the position in the world[] array that corresponds to the room that the person is in. To get the vnum of this room, it is world[ch->in_room].number. That'll give the virtual number of the room. You could also do the opposite if needed by doing real_room(vnum), in case you ever need to do that as well. Hope this helps some :) Destroyer
This archive was generated by hypermail 2b30 : 12/07/00 PST