aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormaximius <none@none>2009-10-02 01:44:07 -0700
committermaximius <none@none>2009-10-02 01:44:07 -0700
commit2b555a1ab962025b83661d14fabba234a20838a7 (patch)
treea603674b1b1f24d93ecd074f035441d393cbb2d9 /src
parent9bb508ae199a85de39c6f6e52f77328a4c746ff2 (diff)
*Typo fix.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Unit.cpp2
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
{