[12058] Remove more header includes

This commit is contained in:
Schmoozerd 2012-07-19 03:08:05 +02:00
parent f24fa870c5
commit 6de10526cc
23 changed files with 143 additions and 120 deletions

View file

@ -1006,7 +1006,7 @@ void Unit::JustKilledCreature(Creature* victim)
// some critters required for quests (need normal entry instead possible heroic in any cases)
if (victim->GetCreatureType() == CREATURE_TYPE_CRITTER && GetTypeId() == TYPEID_PLAYER)
{
if (CreatureInfo const* normalInfo = sCreatureStorage.LookupEntry<CreatureInfo>(victim->GetEntry()))
if (CreatureInfo const* normalInfo = ObjectMgr::GetCreatureTemplate(victim->GetEntry()))
((Player*)this)->KilledMonster(normalInfo, victim->GetObjectGuid());
}