[10952] Don't use singleton to access static functions.

This commit is contained in:
VladimirMangos 2011-01-03 14:19:25 +03:00
parent 32649abe6b
commit a0e298179c
9 changed files with 13 additions and 13 deletions

View file

@ -983,7 +983,7 @@ uint32 ObjectMgr::GetModelForRace(uint32 sourceModelId, uint32 racemask)
if (itr->second.creature_entry)
{
const CreatureInfo *cInfo = sObjectMgr.GetCreatureTemplate(itr->second.creature_entry);
const CreatureInfo *cInfo = GetCreatureTemplate(itr->second.creature_entry);
modelId = Creature::ChooseDisplayId(cInfo);
}
else