*Always set health to 0 if dead. No exceptions.
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user