RemoveIfUntamed also removes tamed creatures - http://jira.runuo.com/browse/RUNUO-101

This commit is contained in:
athena 2011-11-28 00:09:06 +00:00
parent 3bd524a27a
commit 4e15a2aa4c

View file

@ -5346,7 +5346,7 @@ namespace Server.Mobiles
}
// added lines to check if a wild creature in a house region has to be removed or not
if ( (!c.Controlled && ( c.Region.IsPartOf( typeof( HouseRegion ) ) && c.CanBeDamaged()) || ( c.RemoveIfUntamed && c.Spawner == null )) )
if ( !c.Controlled && !c.IsStabled && ( ( c.Region.IsPartOf( typeof( HouseRegion ) ) && c.CanBeDamaged() ) || ( c.RemoveIfUntamed && c.Spawner == null ) ) )
{
c.RemoveStep++;