*Fix the infamous "walk" bug. By thenecromancer.
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -376,7 +376,7 @@ void Unit::SendMonsterMove(float NewPosX, float NewPosY, float NewPosZ, uint8 ty
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Movement Flags (0x0 = walk, 0x100 = run, 0x200 = fly/swim)
|
//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 << Time; // Time in between points
|
||||||
data << uint32(1); // 1 single waypoint
|
data << uint32(1); // 1 single waypoint
|
||||||
|
|||||||
Reference in New Issue
Block a user