[Performance] Adjust HP marquee call checks

This commit is contained in:
Akkadius committed 2017-03-28 15:49:13 -05:00
1 parent 138ad99eea
commit a06d5fab89
3 files changed
+3 -5

No files matched your search

+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()) {