From 2b555a1ab962025b83661d14fabba234a20838a7 Mon Sep 17 00:00:00 2001 From: maximius Date: Fri, 2 Oct 2009 01:44:07 -0700 Subject: *Typo fix. --HG-- branch : trunk --- src/game/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 { -- cgit v1.2.3