From 21af4cf832daeccb1617e37e15cd7b9bcebfb6c8 Mon Sep 17 00:00:00 2001 From: megamage Date: Wed, 26 Aug 2009 19:28:21 -0500 Subject: *Some clean up and add debug info to find the reason of crash. --HG-- branch : trunk --- src/game/PointMovementGenerator.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game/PointMovementGenerator.cpp') diff --git a/src/game/PointMovementGenerator.cpp b/src/game/PointMovementGenerator.cpp index 3452c0a3b4d..ac5a4568480 100644 --- a/src/game/PointMovementGenerator.cpp +++ b/src/game/PointMovementGenerator.cpp @@ -79,6 +79,8 @@ void PointMovementGenerator::MovementInform(T &unit) template <> void PointMovementGenerator::MovementInform(Creature &unit) { + if(id == EVENT_FALL_GROUND) + unit.setDeathState(JUST_DIED); unit.AI()->MovementInform(POINT_MOTION_TYPE, id); } -- cgit v1.2.3