Fix loading screen tile

git-svn-id: https://svn.eduke32.com/eduke32@7294 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-12-15 22:33:09 +00:00
parent 1c369d4978
commit 22ad4221d9

View file

@ -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
{