]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
From LordHavoc: the r_quickmodels cvar wasn't used anywhere; it's fixed.
authormolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 3 Oct 2002 06:51:52 +0000 (06:51 +0000)
committermolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 3 Oct 2002 06:51:52 +0000 (06:51 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2492 d7cf8633-e32d-0410-b094-e92efae38249

gl_models.c

index 4cc5f9fd40c6133166f4346ababf63d443815bf6..a3af2006892f8b2cd8d2e843e9fdea4c5d357f2c 100644 (file)
@@ -320,7 +320,7 @@ void R_DrawQ1Q2AliasModelCallback (const void *calldata1, int calldata2)
 
 
        colormapped = !skinframe->merged || (ent->colormap >= 0 && skinframe->base && (skinframe->pants || skinframe->shirt));
-       if (!colormapped && !fog && !skinframe->glow && !skinframe->fog)
+       if (r_quickmodels.integer && !colormapped && !fog && !skinframe->glow && !skinframe->fog)
        {
                // fastpath for the normal situation (one texture)
                memset(&m, 0, sizeof(m));