*Fix the infamous "walk" bug. By thenecromancer.
--HG-- branch : trunk
This commit is contained in:
1 parent
3a1293ef18
commit
63bbecb8a2
1 file changed
+1
-1
+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)
|
||||
data << uint32(MovementFlags);
|
||||
data << uint32(GetTypeId() == TYPEID_PLAYER ? MOVEMENTFLAG_WALK_MODE : MovementFlags);
|
||||
|
||||
data << Time; // Time in between points
|
||||
data << uint32(1); // 1 single waypoint
|
||||
|
||||
Reference in new issue
Block a user