summaryrefslogtreecommitdiff
path: root/src/being
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
parent9d583528aefbbdcfac9e6027aa162153cd5b6a05 (diff)
downloadmv-a86a068c3a5d97377deee915c93c5a29889f1a59.tar.gz
mv-a86a068c3a5d97377deee915c93c5a29889f1a59.tar.bz2
mv-a86a068c3a5d97377deee915c93c5a29889f1a59.tar.xz
mv-a86a068c3a5d97377deee915c93c5a29889f1a59.zip
Add packet SMSG_PLAYER_KILLED_BY 0x0b1d.
Change protocol version to 17.
Diffstat (limited to 'src/being')
-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."),