should not animate mobiles if mounted.
This commit is contained in:
parent
76eec82ce1
commit
dcde4fdb8f
2 changed files with 16 additions and 0 deletions
|
|
@ -3435,6 +3435,14 @@ namespace Server.Mobiles
|
||||||
return true; // entered idle state
|
return true; // entered idle state
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override void Animate( int action, int frameCount, int repeatCount, bool forward, bool repeat, int delay )
|
||||||
|
{
|
||||||
|
if( !Mounted )
|
||||||
|
{
|
||||||
|
base.Animate( action, frameCount, repeatCount, forward, repeat, delay );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void CheckAIActive()
|
private void CheckAIActive()
|
||||||
{
|
{
|
||||||
Map map = Map;
|
Map map = Map;
|
||||||
|
|
|
||||||
|
|
@ -3341,6 +3341,14 @@ namespace Server.Mobiles
|
||||||
return base.CanSee( m );
|
return base.CanSee( m );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override void Animate( int action, int frameCount, int repeatCount, bool forward, bool repeat, int delay )
|
||||||
|
{
|
||||||
|
if( !Mounted )
|
||||||
|
{
|
||||||
|
base.Animate( action, frameCount, repeatCount, forward, repeat, delay );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public override bool CanSee( Item item )
|
public override bool CanSee( Item item )
|
||||||
{
|
{
|
||||||
if ( m_DesignContext != null && m_DesignContext.Foundation.IsHiddenToCustomizer( item ) )
|
if ( m_DesignContext != null && m_DesignContext.Foundation.IsHiddenToCustomizer( item ) )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue