[8794] Also rename gameeventmgr to sGameEventMgr.

Hopefully last singleton rename. :)
This commit is contained in:
XTZGZoReX 2009-11-08 19:39:44 +01:00
parent b3f3ffa885
commit 3c1aef871a
6 changed files with 23 additions and 23 deletions

View file

@ -1274,7 +1274,7 @@ void World::SetInitialWorldSettings()
sLog.outString( "Loading Game Event Data...");
sLog.outString();
gameeventmgr.LoadFromDB();
sGameEventMgr.LoadFromDB();
sLog.outString( ">>> Game Event Data loaded" );
sLog.outString();
@ -1510,7 +1510,7 @@ void World::SetInitialWorldSettings()
sPoolMgr.Initialize();
sLog.outString("Starting Game Event system..." );
uint32 nextGameEvent = gameeventmgr.Initialize();
uint32 nextGameEvent = sGameEventMgr.Initialize();
m_timers[WUPDATE_EVENTS].SetInterval(nextGameEvent); //depend on next event
sLog.outString( "WORLD: World initialized" );
@ -1663,7 +1663,7 @@ void World::Update(uint32 diff)
if (m_timers[WUPDATE_EVENTS].Passed())
{
m_timers[WUPDATE_EVENTS].Reset(); // to give time for Update() to be processed
uint32 nextGameEvent = gameeventmgr.Update();
uint32 nextGameEvent = sGameEventMgr.Update();
m_timers[WUPDATE_EVENTS].SetInterval(nextGameEvent);
m_timers[WUPDATE_EVENTS].Reset();
}