Skip to content

Commit

Permalink
Fix UP-DOWN image rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthJDG committed Dec 7, 2012
1 parent 25081ce commit ca69a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/openprince/dat/ImageResource.java
Expand Up @@ -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;
}
Expand Down

0 comments on commit ca69a51

Please sign in to comment.