diff options
Diffstat (limited to 'src/game/Creature.h')
-rw-r--r-- | src/game/Creature.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Creature.h b/src/game/Creature.h index cd726c567fb..6035d3da6aa 100644 --- a/src/game/Creature.h +++ b/src/game/Creature.h @@ -535,7 +535,7 @@ class TRINITY_DLL_SPEC Creature : public Unit void Motion_Initialize(); void AI_SendMoveToPacket(float x, float y, float z, uint32 time, uint32 MovementFlags, uint8 type); - CreatureAI* AI() { return (CreatureAI*)i_AI; } + CreatureAI * AI() const { return (CreatureAI*)i_AI; } uint32 GetShieldBlockValue() const //dunno mob block value { |