legion oops

This commit is contained in:
dinkc64 2015-07-11 17:58:27 +00:00
parent e419164b7e
commit 2258d49eaf
1 changed files with 2 additions and 1 deletions

View File

@ -997,7 +997,8 @@ static void draw_txt_layer(INT32 transp)
sy = (sy << 3) - yoffset; sy = (sy << 3) - yoffset;
if (scroll_type != 1) sx += 128; if (scroll_type != 1) sx += 128;
sx &= 0xff; // fix for left-most characters in Kozure if (sx >= 512) sx -= 512; // fix for left-most characters in Kozure
//sx &= 0xff; // (instead of the line above) causes breakage in Legion.
if (sx < -7 || sy < -7 || sx >= nScreenWidth || sy >= nScreenHeight) continue; if (sx < -7 || sy < -7 || sx >= nScreenWidth || sy >= nScreenHeight) continue;