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/BattleGroundHandler.cpp | |
parent | 6c7e41cf87d61411296f18660e3ca538d51e2096 (diff) |
*Fix possible exploits with flying paths.
--HG--
branch : trunk
Diffstat (limited to 'src/game/BattleGroundHandler.cpp')
-rw-r--r-- | src/game/BattleGroundHandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/BattleGroundHandler.cpp b/src/game/BattleGroundHandler.cpp index c8bc2bc4ecf..497db2ceadd 100644 --- a/src/game/BattleGroundHandler.cpp +++ b/src/game/BattleGroundHandler.cpp @@ -448,7 +448,8 @@ void WorldSession::HandleBattleFieldPortOpcode( WorldPacket &recv_data ) if (_player->isInFlight()) { _player->GetMotionMaster()->MovementExpired(); - _player->m_taxi.ClearTaxiDestinations(); + _player->CleanupAfterTaxiFlight(); + } sBattleGroundMgr.BuildBattleGroundStatusPacket(&data, bg, queueSlot, STATUS_IN_PROGRESS, 0, bg->GetStartTime(), bg->GetArenaType()); |