diff options
| author | maximius <none@none> | 2009-09-25 19:20:04 -0700 |
|---|---|---|
| committer | maximius <none@none> | 2009-09-25 19:20:04 -0700 |
| commit | 2853aa1cd1bb3026d697672aefb6eace902f90b1 (patch) | |
| tree | 9507ef4b5de46038f650eda146b126739820d19e /src/game/Creature.cpp | |
| parent | 0febe02227f5ac2272ff1e57c6b527300ffe6641 (diff) | |
*Grobbulus - in Inject event, tank is not a target for this spell, by Gyullo
*Gundrak - AI for the boss Moorabi, by Manuel
*Improvements to player death handling (they will now fall to the ground).. also attempted to improve creature death handling the same way.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Creature.cpp')
| -rw-r--r-- | src/game/Creature.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index 9e15ce994d0..03e88ed862a 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -1773,7 +1773,7 @@ void Creature::setDeathState(DeathState s) if(m_formation && m_formation->getLeader() == this) m_formation->FormationReset(true); - if (canFly() && FallGround()) + if ((canFly() || IsFlying()) && FallGround()) return; Unit::setDeathState(CORPSE); |
