summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
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;