aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 8647afd2f69..e63b3ab8ff0 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -20162,8 +20162,9 @@ bool Player::IsAllowUseFlyMountsHere() const
if (isGameMaster())
return true;
- uint32 v_map = GetVirtualMapForMapAndZone(GetMapId(), GetZoneId());
- return v_map == 530 || v_map == 571 && HasSpell(54197);
+ uint32 zoneId = GetZoneId();
+ uint32 v_map = GetVirtualMapForMapAndZone(GetMapId(), zoneId);
+ return v_map == 530 || v_map == 571 && HasSpell(54197) && zoneId != 4197;
}
void Player::learnSpellHighRank(uint32 spellid)