Try testing *victim instead.
>
>in fight.c. Just before this function is called, the damage() function
>is called.
>If the victim dies, the damage() function calls the die() function.
>The die() function calls raw_kill(), and the raw_kill() calls the
>extract_char() function.
>The extract_char() function removes all traces of the victim from
>memory, then the hit() function calls hitprcnt_mtrigger(), passing it
>the victim info, which no longer exists, causing the game to crash.
>
>I tried putting a if (victim) statement just before the function call,
>but that didn't seem to work. Anyone got any ideas?
+------------------------------------------------------------+
| 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 : 12/15/00 PST