Fixed SpriteRenderer offset bug.

This commit is contained in:
huwpascoe
2014-08-20 00:21:53 +01:00
parent 6fcd4c3605
commit 7d96a6ac96
2 changed files with 4 additions and 1 deletions

View File

@@ -73,7 +73,7 @@ namespace OpenRA.Graphics
currentBlend = s.blendMode;
currentSheet = s.sheet;
Util.FastCreateQuad(vertices, location + s.offset, s, paletteIndex, nv, size);
Util.FastCreateQuad(vertices, location + s.fractionalOffset * size, s, paletteIndex, nv, size);
nv += 4;
}