Hello again,
Now i am totally confused I put this into perform_violence:
struct char_data *victim;
and changed this:
if (PRF_FLAGGED(ch, PRF_AUTODIAG) && !IS_NPC(ch))
send_to_char("\r\n", ch);
diag_char_to_char(FIGHTING(ch), ch);
to this
if (PRF_FLAGGED(ch, PRF_AUTODIAG) && !IS_NPC(ch) && GET_HIT(victim) < 0)
send_to_char("\r\n", ch);
diag_char_to_char(FIGHTING(ch), ch);
When i complie i get 'victim' may be an uninitilized in this function
but it continues to compile.
When i run it, crash in the same place. Thanx for the help so far, and
i do realize it is trying to diag something that is not there anymore.
-=DemiGod=-
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
+------------------------------------------------------------+
| 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