*Do not allow to use flying mount on wintergrasp.
--HG-- branch : trunk
This commit is contained in:
+3
-2
@@ -20162,8 +20162,9 @@ bool Player::IsAllowUseFlyMountsHere() const
|
|||||||
if (isGameMaster())
|
if (isGameMaster())
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
uint32 v_map = GetVirtualMapForMapAndZone(GetMapId(), GetZoneId());
|
uint32 zoneId = GetZoneId();
|
||||||
return v_map == 530 || v_map == 571 && HasSpell(54197);
|
uint32 v_map = GetVirtualMapForMapAndZone(GetMapId(), zoneId);
|
||||||
|
return v_map == 530 || v_map == 571 && HasSpell(54197) && zoneId != 4197;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Player::learnSpellHighRank(uint32 spellid)
|
void Player::learnSpellHighRank(uint32 spellid)
|
||||||
|
|||||||
Reference in New Issue
Block a user