aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVincent_Michael <Vincent_Michael@gmx.de>2013-01-30 19:09:09 +0100
committerVincent_Michael <Vincent_Michael@gmx.de>2013-01-30 19:09:09 +0100
commit716c2db403384fd81961f0829ec9c1c85a1a2256 (patch)
tree72f86c0f4472ca8233996b91dcbc2b608e6ace40 /src
parent2ba477c367ad86f41f51bd5430bd8c8fb9020906 (diff)
Core: Fix warnings
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: