Merge branch 'master' of git://github.com/beedee/OpenRA

This commit is contained in:
Bob
2009-10-09 21:29:58 +13:00
4 changed files with 85 additions and 15 deletions

View File

@@ -32,7 +32,7 @@ namespace OpenRa.Game.Graphics
public Sprite GetSprite(int frame)
{
return UnitSheetBuilder.sprites[frame + start];
return UnitSheetBuilder.sprites[ ( frame % length ) + start ];
}
}
}