Avoid spam for not completed packet read for CMSG_MOVE_SPLINE_DONE. by VladimirMangos
--HG-- branch : trunk
This commit is contained in:
@@ -189,10 +189,19 @@ void WorldSession::HandleActivateTaxiExpressOpcode ( WorldPacket & recv_data )
|
|||||||
GetPlayer()->ActivateTaxiPathTo(nodes, npc);
|
GetPlayer()->ActivateTaxiPathTo(nodes, npc);
|
||||||
}
|
}
|
||||||
|
|
||||||
void WorldSession::HandleMoveSplineDoneOpcode(WorldPacket& /*recv_data*/)
|
void WorldSession::HandleMoveSplineDoneOpcode(WorldPacket& recv_data)
|
||||||
{
|
{
|
||||||
sLog.outDebug( "WORLD: Received CMSG_MOVE_SPLINE_DONE" );
|
sLog.outDebug( "WORLD: Received CMSG_MOVE_SPLINE_DONE" );
|
||||||
|
|
||||||
|
uint64 guid; // used only for proper packet read
|
||||||
|
if(!recv_data.readPackGUID(guid))
|
||||||
|
return;
|
||||||
|
|
||||||
|
MovementInfo movementInfo; // used only for proper packet read
|
||||||
|
ReadMovementInfo(recv_data, &movementInfo);
|
||||||
|
|
||||||
|
recv_data.read_skip<uint32>(); // unk
|
||||||
|
|
||||||
// in taxi flight packet received in 2 case:
|
// in taxi flight packet received in 2 case:
|
||||||
// 1) end taxi path in far (multi-node) flight
|
// 1) end taxi path in far (multi-node) flight
|
||||||
// 2) switch from one map to other in case multim-map taxi path
|
// 2) switch from one map to other in case multim-map taxi path
|
||||||
|
|||||||
Reference in New Issue
Block a user