View Single Post
  #1  
Old 08-16-2008, 09:13 AM
haecz
Hill Giant
 
Join Date: Apr 2003
Location: x
Posts: 205
Default Correction: "Hit by non-melee damage"

The "Hit by non-melee damage" message is filtered wrong, it currently uses "Other"-filter. Changing the following lines will enable the client to recieve the message correctly.


attack.cpp line 2363
Code:
owner->Message_StringID(4,OTHER_HIT_NONMELEE,GetCleanName(),ConvertArray(damage,val1));
to:
Code:
owner->Message_StringID(MT_NonMelee,OTHER_HIT_NONMELEE,GetCleanName(),ConvertArray(damage,val1));



attack.cpp line 2386
Code:
attacker->Message_StringID(4,OTHER_HIT_NONMELEE,GetCleanName(),ConvertArray(damage,val1));
to:
Code:
attacker->Message_StringID(MT_NonMelee,OTHER_HIT_NONMELEE,GetCleanName(),ConvertArray(damage,val1));
__________________
there is no spoon!!
Reply With Quote