aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMachiavelli <none@none>2009-08-20 18:24:45 +0200
committerMachiavelli <none@none>2009-08-20 18:24:45 +0200
commitc674463df46244762e1de2197604fde54d855c1c (patch)
tree212d953fccdf4fa00ee9669071fea94298bfa117 /src
parent1302b3b7a9f4f808b9f3df7d6451b98456c0feb3 (diff)
* Change .die command handler so that the user can get credit for the kill
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Level3.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp
index 061aebcd62a..326f1ea6c65 100644
--- a/src/game/Level3.cpp
+++ b/src/game/Level3.cpp
@@ -4223,8 +4223,7 @@ bool ChatHandler::HandleDieCommand(const char* /*args*/)
if( target->isAlive() )
{
- //m_session->GetPlayer()->DealDamage(target, target->GetHealth(), NULL, DIRECT_DAMAGE, SPELL_SCHOOL_MASK_NORMAL, NULL, false);
- m_session->GetPlayer()->Kill(target);
+ m_session->GetPlayer()->DealDamage(target, target->GetHealth(), NULL, DIRECT_DAMAGE, SPELL_SCHOOL_MASK_NORMAL, NULL, false);
}
return true;