Updated to 3.1.2.9855 client build, fixed quests, some work on monster movement. Not tested.

This commit is contained in:
tomrus88 2009-05-02 19:38:14 +04:00
parent 21a38a42d8
commit b980e9ac59
22 changed files with 114 additions and 92 deletions

View file

@ -27,7 +27,7 @@
void
HomeMovementGenerator<Creature>::Initialize(Creature & owner)
{
owner.RemoveUnitMovementFlag(MOVEMENTFLAG_WALK_MODE);
owner.RemoveUnitMovementFlag(MONSTER_MOVE_FLAG_WALK);
_setTargetLocation(owner);
}
@ -63,7 +63,7 @@ HomeMovementGenerator<Creature>::Update(Creature &owner, const uint32& time_diff
if (time_diff > i_travel_timer)
{
owner.AddUnitMovementFlag(MOVEMENTFLAG_WALK_MODE);
owner.AddUnitMovementFlag(MONSTER_MOVE_FLAG_WALK);
// restore orientation of not moving creature at returning to home
if(owner.GetDefaultMovementType()==IDLE_MOTION_TYPE)