From ab5f515f21d1f9e735e8b2c91a64f2dd02512ed5 Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 28 Aug 2009 11:26:20 -0500 Subject: *Update flame levi script. Allow player to shoot down pyrite container and refill the demolishers. *Other script-related fixes. --HG-- branch : trunk --- src/game/PointMovementGenerator.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game/PointMovementGenerator.cpp') diff --git a/src/game/PointMovementGenerator.cpp b/src/game/PointMovementGenerator.cpp index ac5a4568480..a24178ccb99 100644 --- a/src/game/PointMovementGenerator.cpp +++ b/src/game/PointMovementGenerator.cpp @@ -80,7 +80,10 @@ void PointMovementGenerator::MovementInform(T &unit) template <> void PointMovementGenerator::MovementInform(Creature &unit) { if(id == EVENT_FALL_GROUND) + { unit.setDeathState(JUST_DIED); + unit.SetFlying(true); + } unit.AI()->MovementInform(POINT_MOTION_TYPE, id); } -- cgit v1.2.3