aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Creature.h')
-rw-r--r--src/game/Creature.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Creature.h b/src/game/Creature.h
index 6991e598d2b..63baee1799b 100644
--- a/src/game/Creature.h
+++ b/src/game/Creature.h
@@ -529,7 +529,7 @@ class TRINITY_DLL_SPEC Creature : public Unit
uint32 getLevelForTarget(Unit const* target) const; // overwrite Unit::getLevelForTarget for boss level support
- bool IsInEvadeMode() const;
+ bool IsInEvadeMode() const { return hasUnitState(UNIT_STAT_EVADE); }
bool AIM_Initialize(CreatureAI* ai = NULL);
void Motion_Initialize();