aboutsummaryrefslogtreecommitdiff
path: root/src/game/TaxiHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/TaxiHandler.cpp')
-rw-r--r--src/game/TaxiHandler.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/game/TaxiHandler.cpp b/src/game/TaxiHandler.cpp
index 5655bfd57bb..8aa512bd719 100644
--- a/src/game/TaxiHandler.cpp
+++ b/src/game/TaxiHandler.cpp
@@ -31,12 +31,8 @@
#include "WaypointMovementGenerator.h"
#include "DestinationHolderImp.h"
-#include <cassert>
-
void WorldSession::HandleTaxiNodeStatusQueryOpcode( WorldPacket & recv_data )
{
- CHECK_PACKET_SIZE(recv_data,8);
-
sLog.outDebug( "WORLD: Received CMSG_TAXINODE_STATUS_QUERY" );
uint64 guid;
@@ -72,8 +68,6 @@ void WorldSession::SendTaxiStatus( uint64 guid )
void WorldSession::HandleTaxiQueryAvailableNodes( WorldPacket & recv_data )
{
- CHECK_PACKET_SIZE(recv_data,8);
-
sLog.outDebug( "WORLD: Received CMSG_TAXIQUERYAVAILABLENODES" );
uint64 guid;
@@ -160,8 +154,6 @@ bool WorldSession::SendLearnNewTaxiNode( Creature* unit )
void WorldSession::HandleActivateTaxiExpressOpcode ( WorldPacket & recv_data )
{
- CHECK_PACKET_SIZE(recv_data,8+4+4);
-
sLog.outDebug( "WORLD: Received CMSG_ACTIVATETAXIEXPRESS" );
uint64 guid;
@@ -175,9 +167,6 @@ void WorldSession::HandleActivateTaxiExpressOpcode ( WorldPacket & recv_data )
sLog.outDebug( "WORLD: HandleActivateTaxiExpressOpcode - Unit (GUID: %u) not found or you can't interact with it.", uint32(GUID_LOPART(guid)) );
return;
}
- // recheck
- CHECK_PACKET_SIZE(recv_data,8+4+4+node_count*4);
-
std::vector<uint32> nodes;
for(uint32 i = 0; i < node_count; ++i)
@@ -264,8 +253,6 @@ void WorldSession::HandleMoveSplineDoneOpcode(WorldPacket& /*recv_data*/)
void WorldSession::HandleActivateTaxiOpcode( WorldPacket & recv_data )
{
- CHECK_PACKET_SIZE(recv_data,8+4+4);
-
sLog.outDebug( "WORLD: Received CMSG_ACTIVATETAXI" );
uint64 guid;