From 2382a8876f20716609f389d99d85fb82dffb8b9f Mon Sep 17 00:00:00 2001 From: Artem Golubikhin Date: Mon, 23 Jan 2017 14:58:50 +0300 Subject: [PATCH] Fixed auto wad precaching (#319) --- rehlds/engine/textures.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rehlds/engine/textures.cpp b/rehlds/engine/textures.cpp index 86f02f1..801e0fd 100644 --- a/rehlds/engine/textures.cpp +++ b/rehlds/engine/textures.cpp @@ -112,7 +112,7 @@ qboolean TEX_InitFromWad(char *path) continue; #ifdef REHLDS_FIXES - if (g_psv.active + if (g_psv.state == ss_loading && Q_stricmp(wadPath, "halflife.wad") && Q_stricmp(wadPath, "xeno.wad") && Q_stricmp(wadPath, "decals.wad"))