From e84d6f43e7cff59f4a9e24cd458bb4583b019708 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Dec 2014 00:01:59 +0300 Subject: Fix no death message on tmwa server. --- src/being/localplayer.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2