mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
*Fix the infamous "walk" bug. By thenecromancer.
--HG-- branch : trunk
This commit is contained in:
@@ -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