From 9f65886787ef60eac063fd4abc59d172f9149761 Mon Sep 17 00:00:00 2001 From: megamage Date: Thu, 2 Apr 2009 16:49:52 -0600 Subject: [PATCH] [7600] Apply at far teleport AURA_INTERRUPT_FLAG_MOVE and AURA_INTERRUPT_FLAG_TURNING in simlar to near teleport case. Author: VladimirMangos --HG-- branch : trunk --- src/game/Player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 34e9ff8de8..38e3f90377 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -1834,7 +1834,7 @@ bool Player::TeleportTo(uint32 mapid, float x, float y, float z, float orientati // if the player is saved before worldportack (at logout for example) // this will be used instead of the current location in SaveToDB - RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_CHANGE_MAP); + RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_CHANGE_MAP | AURA_INTERRUPT_FLAG_MOVE | AURA_INTERRUPT_FLAG_TURNING); // move packet sent by client always after far teleport // SetPosition(final_x, final_y, final_z, final_o, true);