Fix stupid bug.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5991 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2021-07-23 19:11:38 +00:00
parent bb4d5d1917
commit e2b88fafc8

View file

@ -593,7 +593,7 @@ void Mod_Purge(enum mod_purge_e ptype)
Mod_PurgeModel(mod, (ptype==MP_FLUSH && unused)?MP_RESET:ptype); Mod_PurgeModel(mod, (ptype==MP_FLUSH && unused)?MP_RESET:ptype);
} }
#if defined(HALFLIFEMODELS) && defined(HAVE_CLIENT) #if defined(HALFLIFEMODELS) && defined(HAVE_CLIENT)
else if (mod->fromgame == fg_halflife) else if (mod->type == mod_halflife)
R_HalfLife_TouchTextures(mod); R_HalfLife_TouchTextures(mod);
#endif #endif
} }