mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[10952] Don't use singleton to access static functions.
This commit is contained in:
parent
32649abe6b
commit
a0e298179c
9 changed files with 13 additions and 13 deletions
|
|
@ -401,7 +401,7 @@ void GameEventMgr::LoadFromDB()
|
|||
newData.equipment_id = 0;
|
||||
}
|
||||
|
||||
if (newData.entry_id && !sObjectMgr.GetCreatureTemplate(newData.entry_id))
|
||||
if (newData.entry_id && !ObjectMgr::GetCreatureTemplate(newData.entry_id))
|
||||
{
|
||||
sLog.outErrorDb("Table `game_event_creature_data` have creature (Guid: %u) with event time entry %u not found in table `creature_template`, set to no 0.", guid, newData.entry_id);
|
||||
newData.entry_id = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue