From 2853aa1cd1bb3026d697672aefb6eace902f90b1 Mon Sep 17 00:00:00 2001 From: maximius Date: Fri, 25 Sep 2009 19:20:04 -0700 Subject: *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 --- src/game/Creature.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/Creature.cpp') 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); -- cgit v1.2.3