animation fixes.

This commit is contained in:
xavier 2013-02-04 00:11:31 +00:00
parent 2750a14ea8
commit 67c6503f8d
3 changed files with 29 additions and 10 deletions

View file

@ -3414,7 +3414,7 @@ namespace Server.Mobiles
return base.CanSee( m );
}
public override void Animate( int action, int frameCount, int repeatCount, bool forward, bool repeat, int delay )
public virtual void CheckedAnimate( int action, int frameCount, int repeatCount, bool forward, bool repeat, int delay )
{
if( !Mounted )
{
@ -3422,6 +3422,11 @@ namespace Server.Mobiles
}
}
public override void Animate( int action, int frameCount, int repeatCount, bool forward, bool repeat, int delay )
{
base.Animate( action, frameCount, repeatCount, forward, repeat, delay );
}
public override bool CanSee( Item item )
{
if ( m_DesignContext != null && m_DesignContext.Foundation.IsHiddenToCustomizer( item ) )