aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-02 16:49:52 -0600
committermegamage <none@none>2009-04-02 16:49:52 -0600
commit9f65886787ef60eac063fd4abc59d172f9149761 (patch)
treeab464833dae3ea0d38e30b56a3c30d13632776d8 /src
parent03f482fb8ebc55ca2bd0fec88c5b84dadaa66979 (diff)
[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
Diffstat (limited to 'src')
-rw-r--r--src/game/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 34e9ff8de8a..38e3f903778 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);