Skip to content

Commit

Permalink
[8872] Avoid spam for not completed packet read for CMSG_MOVE_SPLINE_…
Browse files Browse the repository at this point in the history
…DONE
  • Loading branch information
VladimirMangos committed Nov 25, 2009
1 parent 14b21d8 commit 4126dd1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion src/game/TaxiHandler.cpp
Expand Up @@ -182,10 +182,20 @@ void WorldSession::HandleActivateTaxiExpressOpcode ( WorldPacket & recv_data )
GetPlayer()->ActivateTaxiPathTo(nodes, npc);
}

void WorldSession::HandleMoveSplineDoneOpcode(WorldPacket& /*recv_data*/)
void WorldSession::HandleMoveSplineDoneOpcode(WorldPacket& recv_data)
{
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:
// 1) end taxi path in far (multi-node) flight
// 2) switch from one map to other in case multim-map taxi path
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "8871"
#define REVISION_NR "8872"
#endif // __REVISION_NR_H__

0 comments on commit 4126dd1

Please sign in to comment.