--HG--
branch : trunk
This commit is contained in:
maximius committed 2009-08-20 13:32:12 -07:00
1 parent eb81138e6d
commit f7bc620f4f
2 files changed
+3 -3

No files matched your search

+2 -2
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);
}