From e2b88fafc826711ae3f6ad199ea682ed382a9b8b Mon Sep 17 00:00:00 2001 From: Spoike Date: Fri, 23 Jul 2021 19:11:38 +0000 Subject: [PATCH] Fix stupid bug. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5991 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_model.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/gl/gl_model.c b/engine/gl/gl_model.c index 0d13cedea..ef736cf80 100644 --- a/engine/gl/gl_model.c +++ b/engine/gl/gl_model.c @@ -593,7 +593,7 @@ void Mod_Purge(enum mod_purge_e ptype) Mod_PurgeModel(mod, (ptype==MP_FLUSH && unused)?MP_RESET:ptype); } #if defined(HALFLIFEMODELS) && defined(HAVE_CLIENT) - else if (mod->fromgame == fg_halflife) + else if (mod->type == mod_halflife) R_HalfLife_TouchTextures(mod); #endif }