From 30daf3a9e784e3930b9956fc16d46ba57cb937e1 Mon Sep 17 00:00:00 2001 From: Molgrum Date: Tue, 23 Oct 2007 03:14:25 +0000 Subject: [PATCH] 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 --- 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 3091dca6d..c2821bbaf 100644 --- a/engine/gl/gl_model.c +++ b/engine/gl/gl_model.c @@ -498,7 +498,7 @@ model_t *GLMod_LoadModel (model_t *mod, qboolean crash) replstr = r_replacemodels.string; // gl_load24bit 0 disables all replacements - if (gl_load24bit.value) + if (!gl_load24bit.value) replstr = NULL; COM_StripExtension(mod->name, mdlbase, sizeof(mdlbase));