Update Taxi for 322a
--HG-- branch : trunk
This commit is contained in:
@@ -162,9 +162,9 @@ void WorldSession::HandleActivateTaxiExpressOpcode ( WorldPacket & recv_data )
|
||||
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)
|
||||
@@ -197,6 +197,7 @@ void WorldSession::HandleMoveSplineDoneOpcode(WorldPacket& /*recv_data*/)
|
||||
// 1) end taxi path in far (multi-node) flight
|
||||
// 2) switch from one map to other in case multim-map taxi path
|
||||
// we need process only (1)
|
||||
|
||||
uint32 curDest = GetPlayer()->m_taxi.GetTaxiDestination();
|
||||
if(!curDest)
|
||||
return;
|
||||
@@ -275,4 +276,3 @@ void WorldSession::HandleActivateTaxiOpcode( WorldPacket & recv_data )
|
||||
|
||||
GetPlayer()->ActivateTaxiPathTo(nodes, npc);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user