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 | |
parent | 5780a905a48ffb815296a0cdfdbbbda003497240 (diff) | |
download | manaplus-e84d6f43e7cff59f4a9e24cd458bb4583b019708.tar.gz manaplus-e84d6f43e7cff59f4a9e24cd458bb4583b019708.tar.bz2 manaplus-e84d6f43e7cff59f4a9e24cd458bb4583b019708.tar.xz manaplus-e84d6f43e7cff59f4a9e24cd458bb4583b019708.zip |
Fix no death message on tmwa server.
Diffstat (limited to 'src/being')
-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; |