[Performance] Adjust HP marquee call checks

This commit is contained in:
Akkadius
2017-03-28 15:49:13 -05:00
parent 138ad99eea
commit a06d5fab89
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -3300,7 +3300,7 @@ void Mob::CommonDamage(Mob* attacker, int &damage, const uint16 spell_id, const
SetHP(GetHP() - damage);
if (IsClient())
if (IsClient() && RuleB(Character, MarqueeHPUpdates))
this->CastToClient()->SendHPUpdateMarquee();
if(HasDied()) {