mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 07:18:37 +00:00
[Performance] Adjust HP marquee call checks
This commit is contained in:
+1
-1
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user