From a86a068c3a5d97377deee915c93c5a29889f1a59 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Apr 2016 20:54:14 +0300 Subject: Add packet SMSG_PLAYER_KILLED_BY 0x0b1d. Change protocol version to 17. --- src/being/localplayer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/being') 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."), -- cgit v1.2.3-70-g09d2