mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 11:40:44 +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();
|
||||
resetpspritevars(gamemode);
|
||||
|
||||
if (!r_precache) return 0;
|
||||
if (isRR()) cacheit_r(); else cacheit_d();
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -407,6 +407,7 @@ static void cachegoodsprites(void)
|
|||
|
||||
void cacheit_r(void)
|
||||
{
|
||||
if (!r_precache) return;
|
||||
int i;
|
||||
|
||||
cachegoodsprites();
|
||||
|
|
|
@ -36,6 +36,8 @@ void resettiming()
|
|||
|
||||
void precache()
|
||||
{
|
||||
if (!r_precache) return;
|
||||
|
||||
int i;
|
||||
|
||||
for (i = 0; i < numsectors; i++)
|
||||
|
|
Loading…
Reference in a new issue