updated sequences, and some small fixes

This commit is contained in:
Bob
2009-10-09 18:09:30 +13:00
parent 88a2fb50b4
commit 382ff42397
3 changed files with 81 additions and 6 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 ];
}
}
}