Re: [CODE][HELP] Portal Spell yada yada

From: George (greerga@CIRCLEMUD.ORG)
Date: 03/21/98


On Sat, 21 Mar 1998, ;P wrote:

>>     if (GET_OBJ_TYPE(j) == ITEM_PORTAL) {

I remember it crashing until I changed the line to:
       if (j && GET_OBJ_TYPE(j) == ITEM_PORTAL) {
because the object would be extracted somewhere above in the loop.

Been a long time though so I do not remember the exact reason for the
crash, I just remember that fixed it.

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


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