summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-27 20:54:14 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-27 20:54:14 +0300
commita86a068c3a5d97377deee915c93c5a29889f1a59 (patch)
tree63790d35acc1656808d60f1efb76a964f7d5e654 /src/being/localplayer.cpp
parent9d583528aefbbdcfac9e6027aa162153cd5b6a05 (diff)
downloadmanaplus-a86a068c3a5d97377deee915c93c5a29889f1a59.tar.gz
manaplus-a86a068c3a5d97377deee915c93c5a29889f1a59.tar.bz2
manaplus-a86a068c3a5d97377deee915c93c5a29889f1a59.tar.xz
manaplus-a86a068c3a5d97377deee915c93c5a29889f1a59.zip
Add packet SMSG_PLAYER_KILLED_BY 0x0b1d.
Change protocol version to 17.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index 33cf120d2..a5aa8b5e9 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -381,7 +381,8 @@ void LocalPlayer::setAction(const BeingActionT &action,
{
if (action == BeingAction::DEAD)
{
- if (!mLastHitFrom.empty())
+ if (!mLastHitFrom.empty() &&
+ !serverFeatures->haveKillerId())
{
// TRANSLATORS: chat message after death
debugMsg(strprintf(_("You were killed by %s."),