aboutsummaryrefslogtreecommitdiff
path: root/src/game/BattleGroundHandler.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-07-01 16:18:37 +0200
committerQAston <none@none>2009-07-01 16:18:37 +0200
commitfd86e6a369b03d496988673f97409c5b74e99c52 (patch)
treeca8573e0a44ac5e68cb7d641d2f72f478c8bd38c /src/game/BattleGroundHandler.cpp
parent6c7e41cf87d61411296f18660e3ca538d51e2096 (diff)
*Fix possible exploits with flying paths.
--HG-- branch : trunk
Diffstat (limited to 'src/game/BattleGroundHandler.cpp')
-rw-r--r--src/game/BattleGroundHandler.cpp3
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());