[7724] Fixed possible crash when a drunk player gets fall damage Author: Trazom

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-27 21:25:43 -05:00
parent 8f0fecd7e3
commit 4b3af494b3
+1 -1
View File
@@ -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;