aboutsummaryrefslogtreecommitdiff
path: root/src/game/GameEventMgr.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-27 21:25:43 -0500
committermegamage <none@none>2009-04-27 21:25:43 -0500
commit4b3af494b3bdb4c067bf6b814e82959220811481 (patch)
treed54fa8cccf9ba0b1f70ff2dd72f555703d863bc7 /src/game/GameEventMgr.cpp
parent8f0fecd7e3830dae08dd04a85263883391e18bb2 (diff)
[7724] Fixed possible crash when a drunk player gets fall damage Author: Trazom
--HG-- branch : trunk
Diffstat (limited to 'src/game/GameEventMgr.cpp')
-rw-r--r--src/game/GameEventMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameEventMgr.cpp b/src/game/GameEventMgr.cpp
index 5af64d805ed..dc86f659706 100644
--- a/src/game/GameEventMgr.cpp
+++ b/src/game/GameEventMgr.cpp
@@ -1631,7 +1631,7 @@ TRINITY_DLL_SPEC bool IsHolidayActive( HolidayIds id )
GameEventMgr::ActiveEvents const& ae = gameeventmgr.GetActiveEventList();
for(GameEventMgr::ActiveEvents::const_iterator itr = ae.begin(); itr != ae.end(); ++itr)
- if(events[id].holiday_id==id)
+ if(events[*itr].holiday_id==id)
return true;
return false;