mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +00:00
[12058] Remove more header includes
This commit is contained in:
parent
f24fa870c5
commit
6de10526cc
23 changed files with 143 additions and 120 deletions
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue