diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-04-10 17:48:20 +0200 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-04-10 17:48:20 +0200 |
commit | c1ba76b936c04dbdcdcc3ed86f919a949c8aa63f (patch) | |
tree | 6e97edd47cee91e03516787777a77c06f0f70369 /src/game-server | |
parent | f95135686eda29b8677b53e782c849ac2a7a7e37 (diff) | |
download | manaserv-c1ba76b936c04dbdcdcc3ed86f919a949c8aa63f.tar.gz manaserv-c1ba76b936c04dbdcdcc3ed86f919a949c8aa63f.tar.xz manaserv-c1ba76b936c04dbdcdcc3ed86f919a949c8aa63f.zip |
Fixed @kill killing yourself
Diffstat (limited to 'src/game-server')
-rw-r--r-- | src/game-server/commandhandler.cpp | 2 |
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; |