mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 02:20:27 +00:00
refactor(Core/Misc): Make DeathState enum class (#17607)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user