diff options
author | megamage <none@none> | 2008-12-08 20:23:38 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-12-08 20:23:38 -0600 |
commit | bb8c7486fbbdae5bfbcea5e4dd7fd3d81fbb2281 (patch) | |
tree | 3fd59ae9b9627086455923202163efec34bfa60d | |
parent | 9632543dab66abdf6d9f2184c4f9a0a766b961c1 (diff) |
*Try to fix the bug that players cannot move after releasing.
--HG--
branch : trunk
-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 { |