RemoveIfUntamed also removes tamed creatures - http://jira.runuo.com/browse/RUNUO-101
This commit is contained in:
parent
3bd524a27a
commit
4e15a2aa4c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
// 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++;
|
c.RemoveStep++;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue