aboutsummaryrefslogtreecommitdiff
path: root/src/game/MovementHandler.cpp
diff options
context:
space:
mode:
authorRat <none@none>2010-03-17 23:16:35 +0100
committerRat <none@none>2010-03-17 23:16:35 +0100
commit4f948651df9eed9771014ad1c36fb748a36f0ee5 (patch)
tree98e5ba13878f36d52ac8f80a9b97f76d7dec1c21 /src/game/MovementHandler.cpp
parentbef85de621610bef37aa5922136a1bbc05aed858 (diff)
*Fix possible exploits with flying paths. by QAston
--HG-- branch : trunk
Diffstat (limited to 'src/game/MovementHandler.cpp')
-rw-r--r--src/game/MovementHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/MovementHandler.cpp b/src/game/MovementHandler.cpp
index 7b1553c9564..522b35219db 100644
--- a/src/game/MovementHandler.cpp
+++ b/src/game/MovementHandler.cpp
@@ -135,7 +135,7 @@ void WorldSession::HandleMoveWorldportAckOpcode()
// battleground state prepare, stop flight
GetPlayer()->GetMotionMaster()->MovementExpired();
- GetPlayer()->m_taxi.ClearTaxiDestinations();
+ GetPlayer()->CleanupAfterTaxiFlight();
}
// resurrect character at enter into instance where his corpse exist after add to map