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 de868fd27e6..79440a8e016 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -11960,7 +11960,7 @@ void Unit::SetHealth(uint32 val) { if((getDeathState() & JUST_DIED) != 0) val = 0; - else if((getDeathState() & DEAD | DEAD_FALLING) != 0) + else if((getDeathState() & (DEAD | DEAD_FALLING)) != 0) val = 1; else { |