Fix graphical glitch when zoomed.

Fixes #1088. I'm not completely sure why it works but it does.
This commit is contained in:
Duncan Frost 2015-06-11 19:33:48 +01:00
parent b2e9559d31
commit 499b5413f0
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ void gfx_rle_sprite_to_buffer(uint8* source_bits_pointer, uint8* dest_bits_point
if (x_start & ~zoom_mask){
no_pixels -= (x_start&~zoom_mask);
x_start += (x_start&~zoom_mask);
x_start += ~zoom_mask;
source_pointer += (x_start&~zoom_mask);
if (no_pixels <= 0) continue;
}