should not animate mobiles if mounted.

This commit is contained in:
xavier 2013-02-01 06:14:02 +00:00
parent 76eec82ce1
commit dcde4fdb8f
2 changed files with 16 additions and 0 deletions

View file

@ -3435,6 +3435,14 @@ namespace Server.Mobiles
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()
{
Map map = Map;