From 4e15a2aa4c345e8a2f77cc32d05a5e443bb1860e Mon Sep 17 00:00:00 2001 From: athena Date: Mon, 28 Nov 2011 00:09:06 +0000 Subject: [PATCH] RemoveIfUntamed also removes tamed creatures - http://jira.runuo.com/browse/RUNUO-101 --- Scripts/Mobiles/BaseCreature.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/Mobiles/BaseCreature.cs b/Scripts/Mobiles/BaseCreature.cs index 9ec90d324..bb76d88ee 100644 --- a/Scripts/Mobiles/BaseCreature.cs +++ b/Scripts/Mobiles/BaseCreature.cs @@ -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++;