dont precache anything ever in HWR_PrecacheLevel if disabled
before some cvar callbacks called this unconditionally
This commit is contained in:
1 parent
c9c19deff9
commit
6c618fc796
1 file changed
+1
-1
@@ -811,7 +811,7 @@ static void HWR_PrecacheLevelTextures(void)
|
||||
|
||||
void HWR_PrecacheLevel(void)
|
||||
{
|
||||
if (gamestate != GS_LEVEL)
|
||||
if (gamestate != GS_LEVEL || !cv_precachetextures.value)
|
||||
return;
|
||||
|
||||
// Precache flats.
|
||||
|
||||
Reference in new issue
Block a user