diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/TaxiHandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/TaxiHandler.cpp b/src/game/TaxiHandler.cpp index a1f0bedf329..e0a1c2512a8 100644 --- a/src/game/TaxiHandler.cpp +++ b/src/game/TaxiHandler.cpp @@ -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); } - |