refactor(Core/Misc): Make DeathState enum class (#17607)
This commit is contained in:
parent
79b39f9655
commit
f757e93da5
47 changed files with 112 additions and 112 deletions
|
|
@ -1006,7 +1006,7 @@ public:
|
|||
{
|
||||
if (guid != savedPatient->GetGUID()) // Don't kill the last guy we just saved
|
||||
if (Creature* patient = ObjectAccessor::GetCreature(*me, guid))
|
||||
patient->setDeathState(JUST_DIED);
|
||||
patient->setDeathState(DeathState::JustDied);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1155,7 +1155,7 @@ public:
|
|||
{
|
||||
me->RemoveUnitFlag(UNIT_FLAG_IN_COMBAT);
|
||||
me->SetUnitFlag(UNIT_FLAG_NOT_SELECTABLE);
|
||||
me->setDeathState(JUST_DIED);
|
||||
me->setDeathState(DeathState::JustDied);
|
||||
me->SetDynamicFlag(32);
|
||||
|
||||
if (DoctorGUID)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue