bola mount fix.

This commit is contained in:
xavier 2013-01-20 02:17:31 +00:00
parent 5718b66fde
commit bb13ac113f
2 changed files with 8 additions and 1 deletions

View file

@ -132,7 +132,7 @@ namespace Server.Items
( ( Mobile )state ).EndAction( typeof( Bola ) ); ( ( Mobile )state ).EndAction( typeof( Bola ) );
} }
private class BolaTarget : Target public class BolaTarget : Target
{ {
private Bola m_Bola; private Bola m_Bola;

View file

@ -1,6 +1,8 @@
using System; using System;
using System.Collections; using System.Collections;
using Server; using Server;
using Server.Items;
using Server.Targeting;
namespace Server.Mobiles namespace Server.Mobiles
{ {
@ -258,6 +260,11 @@ namespace Server.Mobiles
Internalize(); Internalize();
} }
if( m_Rider.Target is BolaTarget )
{
m_Rider.Target.Cancel( TargetCancelType.Canceled );
}
m_Rider = value; m_Rider = value;
} }
} }