Re: Error in Portal Spell

From: Daniel A. Koepke (dkoepke@california.com)
Date: 08/18/00


On Fri, 18 Aug 2000, Bobby L. Russ wrote:

> 445       GET_OBJ_VAL(portal, 0) = victim->in_room;
> (gdb) bt

Try "print portal" in gdb.  Chances are it's 0x0 (NULL).  Not having more
of the code around the GET_OBJ_VAL macro call, I can't tell you precisely
why this would be so -- send the lines of the function up to line 445.

-dak


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/11/01 PDT