diff --git a/Scripts/Items/Misc/Bola.cs b/Scripts/Items/Misc/Bola.cs index f1a817855..d690ce5cb 100644 --- a/Scripts/Items/Misc/Bola.cs +++ b/Scripts/Items/Misc/Bola.cs @@ -132,7 +132,7 @@ namespace Server.Items ( ( Mobile )state ).EndAction( typeof( Bola ) ); } - private class BolaTarget : Target + public class BolaTarget : Target { private Bola m_Bola; diff --git a/Scripts/Mobiles/Animals/Mounts/BaseMount.cs b/Scripts/Mobiles/Animals/Mounts/BaseMount.cs index b0ab98764..b68bdc69a 100644 --- a/Scripts/Mobiles/Animals/Mounts/BaseMount.cs +++ b/Scripts/Mobiles/Animals/Mounts/BaseMount.cs @@ -1,6 +1,8 @@ using System; using System.Collections; using Server; +using Server.Items; +using Server.Targeting; namespace Server.Mobiles { @@ -258,6 +260,11 @@ namespace Server.Mobiles Internalize(); } + if( m_Rider.Target is BolaTarget ) + { + m_Rider.Target.Cancel( TargetCancelType.Canceled ); + } + m_Rider = value; } }