bola mount fix.
This commit is contained in:
parent
5718b66fde
commit
bb13ac113f
2 changed files with 8 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ namespace Server.Items
|
|||
( ( Mobile )state ).EndAction( typeof( Bola ) );
|
||||
}
|
||||
|
||||
private class BolaTarget : Target
|
||||
public class BolaTarget : Target
|
||||
{
|
||||
private Bola m_Bola;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue