[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
This commit is contained in:
megamage
2009-04-02 16:49:52 -06:00
parent 03f482fb8e
commit 9f65886787
+1 -1
View File
@@ -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);