From e7b74777f325226fae35bd4b1669f34e0eef0dda Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 9 Jan 2008 00:40:23 +0000 Subject: [PATCH] Small fix for d3d-only binaries. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2851 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/view.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/engine/client/view.c b/engine/client/view.c index 6e040f7b7..ab784ccfb 100644 --- a/engine/client/view.c +++ b/engine/client/view.c @@ -652,7 +652,11 @@ void GLV_CalcBlend (void) { // if (j != CSHIFT_SERVER) // { - if (!gl_cshiftpercent.value || !gl_polyblend.value) + if (!gl_cshiftpercent.value +#ifdef RGLQUAKE + || !gl_polyblend.value +#endif + ) continue; a2 = ((cl.cshifts[j].percent * gl_cshiftpercent.value) / 100.0) / 255.0;