mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +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;
|
||||
}
|
||||
case SE_SummonHorse: {
|
||||
if (RuleB(Character, PreventMountsFromZoning)) {
|
||||
if (RuleB(Character, PreventMountsFromZoning) || !zone->CanCastOutdoor()) {
|
||||
BuffFadeByEffect(SE_SummonHorse);
|
||||
} else {
|
||||
SummonHorse(buffs[j1].spellid);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user