Re: [BPL14] Portals with objects

From: Tony Robbins [Kupek] (tonyr@NWPACLINK.COM)
Date: 09/14/98


[-------------------------------------------]
  Tony Robbins, <tonyr@nwpaclink.com>
  LakeView Technologies, Inc.
[-------------------------------------------]

On Mon, 14 Sep 1998, Scorn wrote:

>           if (GET_OBJ_TYPE(obj) == ITEM_PORTAL) {
>             if (GET_OBJ_VAL(obj, 0) != NOWHERE) {
>               char_from_room(ch);
>               char_to_room(ch, real_room(GET_OBJ_VAL(obj, 0)));
>             } else if (real_room(GET_OBJ_VAL(obj, 1)) != NOWHERE) {
>               char_from_room(ch);
>               char_to_room(ch, real_room(GET_OBJ_VAL(obj, 1)));
>             }

Can the snippet be updated with this ?  Talk about a silly mistake.


     +------------------------------------------------------------+
     | 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