aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/game/AI/CreatureAIImpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AI/CreatureAIImpl.h b/src/server/game/AI/CreatureAIImpl.h
index 2b182901c8a..bf5ab9703e0 100644
--- a/src/server/game/AI/CreatureAIImpl.h
+++ b/src/server/game/AI/CreatureAIImpl.h
@@ -525,7 +525,7 @@ class EventMap
// Returns wether the eventmap is in the given phase or not.
bool IsInPhase(uint32 phase)
{
- return phase <= 8 && (!phase || _phase & (1 << phase + 23));
+ return phase <= 8 && (!phase || _phase & (1 << (phase + 23)));
}
private: