diff options
| -rw-r--r-- | src/game/TaxiHandler.cpp | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/TaxiHandler.cpp b/src/game/TaxiHandler.cpp index 8aa512bd719..45c3cbd871b 100644 --- a/src/game/TaxiHandler.cpp +++ b/src/game/TaxiHandler.cpp @@ -101,6 +101,9 @@ void WorldSession::SendTaxiMenu( Creature* unit )      if ( curloc == 0 )          return; +    bool lastTaxiCheaterState = GetPlayer()->isTaxiCheater(); +    if(unit->GetEntry() == 29480) GetPlayer()->SetTaxiCheater(true); // Grimwing in Ebon Hold, special case. NOTE: Not perfect, Zul'Aman should not be included according to WoWhead, and I think taxicheat includes it. +      sLog.outDebug( "WORLD: CMSG_TAXINODE_STATUS_QUERY %u ",curloc);      WorldPacket data( SMSG_SHOWTAXINODES, (4+8+4+8*4) ); @@ -111,6 +114,8 @@ void WorldSession::SendTaxiMenu( Creature* unit )      SendPacket( &data );      sLog.outDebug( "WORLD: Sent SMSG_SHOWTAXINODES" ); + +    GetPlayer()->SetTaxiCheater(lastTaxiCheaterState);  }  void WorldSession::SendDoFlight( uint32 mountDisplayId, uint32 path, uint32 pathNode )  | 
