mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
[Bug Fix] When Mounts are allowed to zone, block them from zoning to disallowed zones. (#4330)
This commit is contained in:
parent
c56742a2a8
commit
34ae3094d6
@ -679,7 +679,7 @@ void Client::CompleteConnect()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case SE_SummonHorse: {
|
case SE_SummonHorse: {
|
||||||
if (RuleB(Character, PreventMountsFromZoning)) {
|
if (RuleB(Character, PreventMountsFromZoning) || !zone->CanCastOutdoor()) {
|
||||||
BuffFadeByEffect(SE_SummonHorse);
|
BuffFadeByEffect(SE_SummonHorse);
|
||||||
} else {
|
} else {
|
||||||
SummonHorse(buffs[j1].spellid);
|
SummonHorse(buffs[j1].spellid);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user