diff options
| author | QAston <none@none> | 2009-07-01 16:18:37 +0200 |
|---|---|---|
| committer | QAston <none@none> | 2009-07-01 16:18:37 +0200 |
| commit | fd86e6a369b03d496988673f97409c5b74e99c52 (patch) | |
| tree | ca8573e0a44ac5e68cb7d641d2f72f478c8bd38c /src/game/TaxiHandler.cpp | |
| parent | 6c7e41cf87d61411296f18660e3ca538d51e2096 (diff) | |
*Fix possible exploits with flying paths.
--HG--
branch : trunk
Diffstat (limited to 'src/game/TaxiHandler.cpp')
| -rw-r--r-- | src/game/TaxiHandler.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/game/TaxiHandler.cpp b/src/game/TaxiHandler.cpp index 0587eba4a64..5655bfd57bb 100644 --- a/src/game/TaxiHandler.cpp +++ b/src/game/TaxiHandler.cpp @@ -256,11 +256,8 @@ void WorldSession::HandleMoveSplineDoneOpcode(WorldPacket& /*recv_data*/) return; } - GetPlayer()->m_taxi.ClearTaxiDestinations(); // not destinations, clear source node - GetPlayer()->Unmount(); - GetPlayer()->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_DISABLE_MOVE | UNIT_FLAG_TAXI_FLIGHT); + GetPlayer()->CleanupAfterTaxiFlight(); GetPlayer()->SetFallInformation(0, GetPlayer()->GetPositionZ()); - GetPlayer()->getHostilRefManager().setOnlineOfflineState(true); if(GetPlayer()->pvpInfo.inHostileArea) GetPlayer()->CastSpell(GetPlayer(), 2479, true); } |
