mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[8794] Also rename gameeventmgr to sGameEventMgr.
Hopefully last singleton rename. :)
This commit is contained in:
parent
b3f3ffa885
commit
3c1aef871a
6 changed files with 23 additions and 23 deletions
|
|
@ -750,8 +750,8 @@ GameEventMgr::GameEventMgr()
|
|||
|
||||
MANGOS_DLL_SPEC bool IsHolidayActive( HolidayIds id )
|
||||
{
|
||||
GameEventMgr::GameEventDataMap const& events = gameeventmgr.GetEventMap();
|
||||
GameEventMgr::ActiveEvents const& ae = gameeventmgr.GetActiveEventList();
|
||||
GameEventMgr::GameEventDataMap const& events = sGameEventMgr.GetEventMap();
|
||||
GameEventMgr::ActiveEvents const& ae = sGameEventMgr.GetActiveEventList();
|
||||
|
||||
for(GameEventMgr::ActiveEvents::const_iterator itr = ae.begin(); itr != ae.end(); ++itr)
|
||||
if(events[*itr].holiday_id==id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue