aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Entities/Creature/Creature.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Entities/Creature/Creature.cpp b/src/server/game/Entities/Creature/Creature.cpp
index b399af92b12..49169f90b2b 100644
--- a/src/server/game/Entities/Creature/Creature.cpp
+++ b/src/server/game/Entities/Creature/Creature.cpp
@@ -3116,7 +3116,7 @@ void Creature::SetSpellFocus(Spell const* focusSpell, WorldObject const* target)
bool Creature::HasSpellFocus(Spell const* focusSpell) const
{
- if (!IsAlive()) // dead creatures cannot focus
+ if (isDead()) // dead creatures cannot focus
{
if (_spellFocusInfo.Spell || _spellFocusInfo.Delay)
{