Core/Spell: Fix crash when blinking on transports in instancable maps

Closes #789
This commit is contained in:
kaelima
2012-04-09 03:02:45 +02:00
parent e309c4fe1b
commit 3bbabb1400
+1 -1
View File
@@ -2134,7 +2134,7 @@ bool Player::TeleportTo(uint32 mapid, float x, float y, float z, float orientati
if (duel && GetMapId() != mapid && GetMap()->GetGameObject(GetUInt64Value(PLAYER_DUEL_ARBITER)))
DuelComplete(DUEL_FLED);
if ((GetMapId() == mapid && !m_transport) || (GetTransport() && GetMapId() == 628))
if (GetMapId() == mapid)
{
//lets reset far teleport flag if it wasn't reset during chained teleports
SetSemaphoreTeleportFar(false);