diff options
-rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 5f27254638c..e4598ad7c75 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -11958,7 +11958,7 @@ void Unit::SetLevel(uint32 lvl) void Unit::SetHealth(uint32 val) { - if(getDeathState() == JUST_DIED) + if((getDeathState() & (JUST_DIED | DEAD | DEAD_FALLING)) != 0) val = 0; else { |