David Cole wrote:
> if (CAN_SEE(d->character, FIGHTING(d->character))) {
> sprintf(prompt + strlen(prompt), " T: %s ",
> GET_NAME(FIGHTING(FIGHTING(d->character))));
Out of curiosity, why are you getting GET_NAME(FIGHTING(FIGHTING(d->character)))
does this not point to GET_NAME(d->character)?
It seems to me, if the mob is going mortally wounded, it is no longer FIGHTING
and becomes NULL => causing crash since you are calling FIGHTING(FIGHTING....
Hope I see this correctly.
--
+---------------------------------------------------------------+
| FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
| Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
+---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/24/03 PDT