From 22ad4221d9e1c248a554d2fda22fcd8c3138232a Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 15 Dec 2018 22:33:09 +0000 Subject: [PATCH] Fix loading screen tile git-svn-id: https://svn.eduke32.com/eduke32@7294 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/premap.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/duke3d/src/premap.cpp b/source/duke3d/src/premap.cpp index 28392f48c..77f358d2f 100644 --- a/source/duke3d/src/premap.cpp +++ b/source/duke3d/src/premap.cpp @@ -318,9 +318,9 @@ static void G_DemoLoadScreen(const char *statustext, int const loadScreenTile, i P_SetGamePalette(g_player[myconnectindex].ps, BASEPAL, 0); // JBF 20040308 } - if ((unsigned)loadScreenTile < (MAXTILES << 1)) + if ((unsigned)loadScreenTile < (MAXTILES<<1)) { - rotatesprite_fs(320<<15, 200<<15, 65536L, 0, loadScreenTile & (MAXTILES-1), 0, 0, 2+8+64+BGSTRETCH); + rotatesprite_fs(320<<15, 200<<15, 65536L, 0, loadScreenTile, 0, 0, 2+8+64+BGSTRETCH); } else { @@ -361,7 +361,7 @@ static void G_DoLoadScreen(const char *statustext, int percent) if ((unsigned)loadScreenTile < (MAXTILES<<1)) { videoClearScreen(0); - rotatesprite_fs(320<<15, 200<<15, 65536L, 0, loadScreenTile & (MAXTILES-1), 0, 0, 2+8+64+BGSTRETCH); + rotatesprite_fs(320<<15, 200<<15, 65536L, 0, loadScreenTile, 0, 0, 2+8+64+BGSTRETCH); } else {