merging bob's changes

This commit is contained in:
Chris Forbes
2009-10-09 19:19:39 +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 ];
}
}
}