mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[7724] Fixed possible crash when a drunk player gets fall damage
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
This commit is contained in:
parent
73db1cbe01
commit
f8e0fc7dbc
2 changed files with 2 additions and 2 deletions
|
|
@ -751,7 +751,7 @@ MANGOS_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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue