diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-07 00:01:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-07 00:01:59 +0300 |
commit | e84d6f43e7cff59f4a9e24cd458bb4583b019708 (patch) | |
tree | 4da6c400ee9cc9b44294b04323a324fb5d1d62b7 /src/being/localplayer.cpp | |
parent | 5780a905a48ffb815296a0cdfdbbbda003497240 (diff) | |
download | mv-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/localplayer.cpp')
-rw-r--r-- | src/being/localplayer.cpp | 5 |
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; |