> Use gdb if on a Linux box, it will help you immensely in figuring out the
> problem.
I've done that.. but It must be something that I can't see.. *grumble* I
must be tired... I'm fiddling with this whole day now...
This is the line in question:
if (((SECT(IN_ROOM(ch)) == SECT_FLYING)) && (!AFF_FLAGGED(ch, AFF_FLY)) &&
!(IS_NPC(ch) && MOB_FLAGGED(ch, MOB_WINGS)) &&
!(IS_NPC(ch) && MOB_FLAGGED(ch, MOB_NOACT)) &&
!(GET_LEVEL(ch) > LVL_IMMORT)) {
if (FIGHTING(ch)) {
stop_fighting(ch);
stop_fighting(FIGHTING(ch));
}
..... and the rest of the funny stuff...
Before that if I have a call to the damage() which kills the character..
And after the character has been killed ch is NOT set on NULL?! Shouldn't
it be? *scratch*
David!
+------------------------------------------------------------+
| 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/08/00 PST