summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game-server/commandhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/commandhandler.cpp b/src/game-server/commandhandler.cpp
index 3596828..d38828f 100644
--- a/src/game-server/commandhandler.cpp
+++ b/src/game-server/commandhandler.cpp
@@ -1239,7 +1239,7 @@ static void handleKill(Character *player, std::string &args)
}
// kill the player
- player->setAttribute(ATTR_HP, 0);
+ other->setAttribute(ATTR_HP, 0);
// feedback
std::stringstream targetMsg;