From 63bbecb8a27d1af9424baa025a0a97f90469a9bb Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 5 Dec 2008 18:43:57 -0600 Subject: *Fix the infamous "walk" bug. By thenecromancer. --HG-- branch : trunk --- src/game/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index aa1fb0a5a5d..7f0fd9c6df3 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -376,7 +376,7 @@ void Unit::SendMonsterMove(float NewPosX, float NewPosY, float NewPosZ, uint8 ty } //Movement Flags (0x0 = walk, 0x100 = run, 0x200 = fly/swim) - data << uint32(MovementFlags); + data << uint32(GetTypeId() == TYPEID_PLAYER ? MOVEMENTFLAG_WALK_MODE : MovementFlags); data << Time; // Time in between points data << uint32(1); // 1 single waypoint -- cgit v1.2.3