#W# Confict: Fixed BaseCreature git merge conflict.
This commit is contained in:
commit
ad38314ca7
112 changed files with 5397 additions and 616 deletions
|
|
@ -1924,8 +1924,18 @@ namespace Server.Multis
|
|||
_includeBoat = includeBoat;
|
||||
_boat = boat;
|
||||
|
||||
_mobiles = boat.Map.GetMobilesInBounds(bounds).GetEnumerator();
|
||||
_items = boat.Map.GetItemsInBounds(bounds).GetEnumerator();
|
||||
var map = boat.Map;
|
||||
|
||||
if (map == null)
|
||||
{
|
||||
_mobiles = Map.MobileBoundsEnumerable<Mobile>.Empty.GetEnumerator();
|
||||
_items = Map.ItemBoundsEnumerable<Item>.Empty.GetEnumerator();
|
||||
}
|
||||
else
|
||||
{
|
||||
_mobiles = map.GetMobilesInBounds(bounds).GetEnumerator();
|
||||
_items = map.GetItemsInBounds(bounds).GetEnumerator();
|
||||
}
|
||||
_iterateMobiles = true;
|
||||
_iterateItems = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3660,12 +3660,7 @@ namespace Server.Multis
|
|||
return true;
|
||||
}
|
||||
|
||||
if (!(bc.Controlled || bc.Summoned))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
m = bc.ControlMaster ?? bc.SummonMaster;
|
||||
m = bc.GetMaster();
|
||||
|
||||
return m != null && (m.AccessLevel > AccessLevel.Player || IsFriend(m) || Access?.Contains(m) == true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue