refactor(Core/Misc): Make DeathState enum class (#17607)

This commit is contained in:
Kitzunu
2023-10-28 10:54:03 +02:00
committed by GitHub
parent 79b39f9655
commit f757e93da5
47 changed files with 112 additions and 112 deletions

View File

@@ -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))
{