[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

@ -7246,7 +7246,7 @@ bool PlayerCondition::Meets(Player const * player) const
case CONDITION_NO_AURA:
return !player->HasAura(value1, value2);
case CONDITION_ACTIVE_EVENT:
return gameeventmgr.IsActiveEvent(value1);
return sGameEventMgr.IsActiveEvent(value1);
default:
return false;
}
@ -7383,7 +7383,7 @@ bool PlayerCondition::IsValid(ConditionType condition, uint32 value1, uint32 val
}
case CONDITION_ACTIVE_EVENT:
{
GameEventMgr::GameEventDataMap const& events = gameeventmgr.GetEventMap();
GameEventMgr::GameEventDataMap const& events = sGameEventMgr.GetEventMap();
if(value1 >=events.size() || !events[value1].isValid())
{
sLog.outErrorDb("Active event condition requires existed event id (%u), skipped", value1);