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  -   | Genius may have its limitations, but stupidity | is not thus handicapped. -- Elbert Hubbard

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

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