diff options
Diffstat (limited to 'src')
-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 91816d33c25..40ed45d027b 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -10798,7 +10798,7 @@ void Unit::SetLevel(uint32 lvl) void Unit::SetHealth(uint32 val) { - if(!isAlive()) + if(getDeathState() == JUST_DIED) val = 0; else { |