--HG--
branch : trunk
This commit is contained in:
maximius
2009-08-20 13:32:12 -07:00
parent eb81138e6d
commit f7bc620f4f
2 changed files with 3 additions and 3 deletions

View File

@@ -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);
}