mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +00:00
- check r_precache in all games.
This commit is contained in:
parent
cd1306dd05
commit
b65dfb6145
3 changed files with 4 additions and 0 deletions
|
@ -858,6 +858,7 @@ static int LoadTheMap(MapRecord *mi, struct player_struct *p, int gamemode)
|
||||||
allignwarpelevators();
|
allignwarpelevators();
|
||||||
resetpspritevars(gamemode);
|
resetpspritevars(gamemode);
|
||||||
|
|
||||||
|
if (!r_precache) return 0;
|
||||||
if (isRR()) cacheit_r(); else cacheit_d();
|
if (isRR()) cacheit_r(); else cacheit_d();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -407,6 +407,7 @@ static void cachegoodsprites(void)
|
||||||
|
|
||||||
void cacheit_r(void)
|
void cacheit_r(void)
|
||||||
{
|
{
|
||||||
|
if (!r_precache) return;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
cachegoodsprites();
|
cachegoodsprites();
|
||||||
|
|
|
@ -36,6 +36,8 @@ void resettiming()
|
||||||
|
|
||||||
void precache()
|
void precache()
|
||||||
{
|
{
|
||||||
|
if (!r_precache) return;
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < numsectors; i++)
|
for (i = 0; i < numsectors; i++)
|
||||||
|
|
Loading…
Reference in a new issue