mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 02:50:29 +00:00
refactor(Core/Misc): Make DeathState enum class (#17607)
This commit is contained in:
@@ -259,7 +259,7 @@ void npc_escortAI::UpdateAI(uint32 diff)
|
||||
|
||||
if (m_bCanInstantRespawn)
|
||||
{
|
||||
me->setDeathState(JUST_DIED);
|
||||
me->setDeathState(DeathState::JustDied);
|
||||
me->Respawn();
|
||||
}
|
||||
else
|
||||
@@ -299,7 +299,7 @@ void npc_escortAI::UpdateAI(uint32 diff)
|
||||
{
|
||||
if (m_bCanInstantRespawn)
|
||||
{
|
||||
me->setDeathState(JUST_DIED);
|
||||
me->setDeathState(DeathState::JustDied);
|
||||
me->Respawn();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user