Core/Vehicles: Hotfix for client freeze on vehicle enter by reverting certain changes to SMSG_MONSTER_MOVE_TRANSPORT. Still have to figure out the correct structure in the future.
This commit is contained in:
1 parent
920b3b0b37
commit
0796889c21
1 file changed
+5
-5
@@ -428,13 +428,13 @@ void Unit::SendMonsterMoveTransport(Unit *vehicleOwner)
|
||||
data << GetPositionZ() - vehicleOwner->GetPositionZ();
|
||||
data << uint32(getMSTime()); // should be an increasing constant that indicates movement packet count
|
||||
data << uint8(SPLINETYPE_FACING_ANGLE);
|
||||
data << GetOrientation(); // facing angle?
|
||||
data << GetTransOffsetO(); // facing angle?
|
||||
data << uint32(SPLINEFLAG_TRANSPORT);
|
||||
data << uint32(GetTransTime()); // move time
|
||||
data << uint32(1); // amount of waypoints
|
||||
data << GetTransOffsetX();
|
||||
data << GetTransOffsetY();
|
||||
data << GetTransOffsetZ();
|
||||
data << uint32(0); // amount of waypoints
|
||||
data << uint32(0); // waypoint X
|
||||
data << uint32(0); // waypoint Y
|
||||
data << uint32(0); // waypoint Z
|
||||
SendMessageToSet(&data, true);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user