mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
*Some clean up and add debug info to find the reason of crash.
--HG-- branch : trunk
This commit is contained in:
@@ -79,6 +79,8 @@ void PointMovementGenerator<T>::MovementInform(T &unit)
|
||||
|
||||
template <> void PointMovementGenerator<Creature>::MovementInform(Creature &unit)
|
||||
{
|
||||
if(id == EVENT_FALL_GROUND)
|
||||
unit.setDeathState(JUST_DIED);
|
||||
unit.AI()->MovementInform(POINT_MOTION_TYPE, id);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user