Permalink
Browse files

Fix UP-DOWN image rendering

  • Loading branch information...
DarthJDG committed Dec 7, 2012
1 parent 25081ce commit ca69a5128357f7cc3b52dd9c41c99dea00b93ce7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/org/openprince/dat/ImageResource.java
@@ -217,9 +217,9 @@ public void renderToSheet(SpriteSheet sheet, PaletteResource pal, int sx,
xoffs--;
if (bits == 0) {
pos++;
val = decompressed.get(pos) & 0xff;
bits = 8;
pos++;
y++;
xoffs = 8 / bpp - 1;
}

0 comments on commit ca69a51

Please sign in to comment.