summaryrefslogtreecommitdiff
path: root/src/being
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
parent5780a905a48ffb815296a0cdfdbbbda003497240 (diff)
downloadmv-e84d6f43e7cff59f4a9e24cd458bb4583b019708.tar.gz
mv-e84d6f43e7cff59f4a9e24cd458bb4583b019708.tar.bz2
mv-e84d6f43e7cff59f4a9e24cd458bb4583b019708.tar.xz
mv-e84d6f43e7cff59f4a9e24cd458bb4583b019708.zip
Fix no death message on tmwa server.
Diffstat (limited to 'src/being')
-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;