Permalink
Browse files

Core: Fix warnings

  • Loading branch information...
Vincent-Michael committed Jan 30, 2013
1 parent 2ba477c commit 716c2db403384fd81961f0829ec9c1c85a1a2256
Showing with 1 addition and 1 deletion.
  1. +1 −1 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:

0 comments on commit 716c2db

Please sign in to comment.