Core/Commands: Localized npc name for commands .npc say, .npc yell, .npc whisper

This commit is contained in:
tobmaps
2011-05-30 20:47:33 +07:00
parent ee794c5b1c
commit fd08b0060c
3 changed files with 72 additions and 35 deletions
+1 -1
View File
@@ -1330,7 +1330,7 @@ void Unit::DealMeleeDamage(CalcDamageInfo *damageInfo, bool durabilityLoss)
return;
// Hmmmm dont like this emotes client must by self do all animations
if (damageInfo->HitInfo&HITINFO_CRITICALHIT)
if (damageInfo->HitInfo & HITINFO_CRITICALHIT)
pVictim->HandleEmoteCommand(EMOTE_ONESHOT_WOUNDCRITICAL);
if (damageInfo->blocked_amount && damageInfo->TargetState != VICTIMSTATE_BLOCKS)
pVictim->HandleEmoteCommand(EMOTE_ONESHOT_PARRYSHIELD);