*Cleanup
--HG-- branch : trunk
This commit is contained in:
1 parent
eb81138e6d
commit
f7bc620f4f
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user