mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 18:40:28 +00:00
refactor(Core/Misc): Make DeathState enum class (#17607)
This commit is contained in:
@@ -1300,7 +1300,7 @@ public:
|
||||
{
|
||||
khanokGUID = temp->GetGUID();
|
||||
if (Creature* khanok = ObjectAccessor::GetCreature(*me, khanokGUID))
|
||||
khanok->setDeathState(JUST_DIED);
|
||||
khanok->setDeathState(DeathState::JustDied);
|
||||
}
|
||||
if (Unit* temp = me->SummonCreature(NPC_PUTRESS, AllianceSpawn[12].x, AllianceSpawn[12].y, AllianceSpawn[12].z, TEMPSUMMON_MANUAL_DESPAWN))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user