fix teleport to draenei/blood elves areas with flying aura
This commit is contained in:
1 parent
616c5ca2b3
commit
40f2ae4d07
2 files changed
+11
-4
No files matched your search
@@ -263,6 +263,10 @@ void WorldSession::HandleMoveTeleportAck(WorldPacket& recvPacket)
|
||||
// in friendly area
|
||||
else if (plMover->IsPvP() && !plMover->HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_IN_PVP))
|
||||
plMover->UpdatePvP(false, false);
|
||||
|
||||
// can fly check
|
||||
if (!plMover->CanFlyInZone(plMover->GetMapId(), newzone))
|
||||
plMover->RemoveAurasByType(SPELL_AURA_FLY);
|
||||
}
|
||||
|
||||
// resummon pet
|
||||
|
||||
Reference in new issue
Block a user