summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-07 00:01:59 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-07 00:01:59 +0300
commite84d6f43e7cff59f4a9e24cd458bb4583b019708 (patch)
tree4da6c400ee9cc9b44294b04323a324fb5d1d62b7 /src/being/localplayer.cpp
parent5780a905a48ffb815296a0cdfdbbbda003497240 (diff)
downloadplus-e84d6f43e7cff59f4a9e24cd458bb4583b019708.tar.gz
plus-e84d6f43e7cff59f4a9e24cd458bb4583b019708.tar.bz2
plus-e84d6f43e7cff59f4a9e24cd458bb4583b019708.tar.xz
plus-e84d6f43e7cff59f4a9e24cd458bb4583b019708.zip
Fix no death message on tmwa server.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index a9a51bd56..b00a3818b 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -1108,11 +1108,8 @@ void LocalPlayer::attributeChanged(const int id,
mLevel = newVal;
break;
case Attributes::HP:
- if (oldVal != 0 && newVal == 0
- && localPlayer->getCurrentAction() != BeingAction::DEAD)
- {
+ if (oldVal != 0 && newVal == 0)
PlayerDeathListener::distributeEvent();
- }
break;
default:
break;