aboutsummaryrefslogtreecommitdiff
path: root/src/game/MovementHandler.cpp
diff options
context:
space:
mode:
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