aboutsummaryrefslogtreecommitdiff
path: root/src/game/Level3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Level3.cpp')
-rw-r--r--src/game/Level3.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp
index 773b8a52ac4..cd3a8118c88 100644
--- a/src/game/Level3.cpp
+++ b/src/game/Level3.cpp
@@ -4224,8 +4224,8 @@ bool ChatHandler::HandleDieCommand(const char* /*args*/)
if( target->isAlive() )
{
if(sWorld.getConfig(CONFIG_DIE_COMMAND_MODE))
- m_session->GetPlayer()->Kill(target);
- else
+ m_session->GetPlayer()->Kill(target);
+ else
m_session->GetPlayer()->DealDamage(target, target->GetHealth(), NULL, DIRECT_DAMAGE, SPELL_SCHOOL_MASK_NORMAL, NULL, false);
}