mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
titlemap - skipintro bugfix
game crash with -skipintro enabled, hopefully fixes it and causes no issues anywhere else
This commit is contained in:
parent
fd97fdd683
commit
068c9d6294
2 changed files with 3 additions and 4 deletions
|
|
@ -64,10 +64,6 @@ void R_SetupSkyDraw(void)
|
||||||
// the horizon line in a 256x128 sky texture
|
// the horizon line in a 256x128 sky texture
|
||||||
skytexturemid = (textures[skytexture]->height/2)<<FRACBITS;
|
skytexturemid = (textures[skytexture]->height/2)<<FRACBITS;
|
||||||
|
|
||||||
// get the right drawer, it was set by screen.c, depending on the
|
|
||||||
// current video mode bytes per pixel (quick fix)
|
|
||||||
wallcolfunc = walldrawerfunc;
|
|
||||||
|
|
||||||
R_SetSkyScale();
|
R_SetSkyScale();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -170,6 +170,9 @@ void SCR_SetMode(void)
|
||||||
if (SCR_IsAspectCorrect(vid.width, vid.height))
|
if (SCR_IsAspectCorrect(vid.width, vid.height))
|
||||||
CONS_Alert(CONS_WARNING, M_GetText("Resolution is not aspect-correct!\nUse a multiple of %dx%d\n"), BASEVIDWIDTH, BASEVIDHEIGHT);
|
CONS_Alert(CONS_WARNING, M_GetText("Resolution is not aspect-correct!\nUse a multiple of %dx%d\n"), BASEVIDWIDTH, BASEVIDHEIGHT);
|
||||||
#endif*/
|
#endif*/
|
||||||
|
|
||||||
|
wallcolfunc = walldrawerfunc;
|
||||||
|
|
||||||
// set the apprpriate drawer for the sky (tall or INT16)
|
// set the apprpriate drawer for the sky (tall or INT16)
|
||||||
setmodeneeded = 0;
|
setmodeneeded = 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue