mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +00:00
Fixed player movement.
Fixed multinode taxi. Removed some unhandled opcode spam.
This commit is contained in:
parent
6bf8eb346d
commit
1df1f7cff5
9 changed files with 142 additions and 30 deletions
|
|
@ -158,14 +158,14 @@ bool WorldSession::SendLearnNewTaxiNode( Creature* unit )
|
|||
|
||||
void WorldSession::HandleActivateTaxiExpressOpcode ( WorldPacket & recv_data )
|
||||
{
|
||||
CHECK_PACKET_SIZE(recv_data,8+4+4);
|
||||
CHECK_PACKET_SIZE(recv_data,8+4);
|
||||
|
||||
sLog.outDebug( "WORLD: Received CMSG_ACTIVATETAXIEXPRESS" );
|
||||
|
||||
uint64 guid;
|
||||
uint32 node_count, _totalcost;
|
||||
uint32 node_count;
|
||||
|
||||
recv_data >> guid >> _totalcost >> node_count;
|
||||
recv_data >> guid >> node_count;
|
||||
|
||||
Creature *npc = GetPlayer()->GetNPCIfCanInteractWith(guid, UNIT_NPC_FLAG_FLIGHTMASTER);
|
||||
if (!npc)
|
||||
|
|
@ -174,7 +174,7 @@ void WorldSession::HandleActivateTaxiExpressOpcode ( WorldPacket & recv_data )
|
|||
return;
|
||||
}
|
||||
// recheck
|
||||
CHECK_PACKET_SIZE(recv_data,8+4+4+node_count*4);
|
||||
CHECK_PACKET_SIZE(recv_data,8+4+node_count*4);
|
||||
|
||||
std::vector<uint32> nodes;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue