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
|
|
@ -824,7 +824,7 @@ void Map::ScriptsProcess()
|
|||
LOG_ERROR("maps.script", "{} creature is already dead ({})", step.script->GetDebugInfo(), cSource->GetGUID().ToString());
|
||||
else
|
||||
{
|
||||
cSource->setDeathState(JUST_DIED);
|
||||
cSource->setDeathState(DeathState::JustDied);
|
||||
if (step.script->Kill.RemoveCorpse == 1)
|
||||
cSource->RemoveCorpse();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue