mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[8872] Avoid spam for not completed packet read for CMSG_MOVE_SPLINE_DONE
This commit is contained in:
parent
10ebadcadf
commit
bca108bf65
2 changed files with 12 additions and 2 deletions
|
|
@ -182,10 +182,20 @@ 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
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8871"
|
#define REVISION_NR "8872"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue