r_replacemodels didn't work when gl_load24bit was 1, should be the other way around.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2756 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Molgrum 2007-10-23 03:14:25 +00:00
parent 24d0f46fe6
commit 30daf3a9e7

View file

@ -498,7 +498,7 @@ model_t *GLMod_LoadModel (model_t *mod, qboolean crash)
replstr = r_replacemodels.string; replstr = r_replacemodels.string;
// gl_load24bit 0 disables all replacements // gl_load24bit 0 disables all replacements
if (gl_load24bit.value) if (!gl_load24bit.value)
replstr = NULL; replstr = NULL;
COM_StripExtension(mod->name, mdlbase, sizeof(mdlbase)); COM_StripExtension(mod->name, mdlbase, sizeof(mdlbase));