From 9d3c1e44778f91bcfdabe916f14c4440367f7576 Mon Sep 17 00:00:00 2001 From: Spoike Date: Fri, 29 Nov 2013 15:36:21 +0000 Subject: [PATCH] stop getting confused between lava and slime. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4545 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_shader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/gl/gl_shader.c b/engine/gl/gl_shader.c index 702b7425b..e7d91662b 100644 --- a/engine/gl/gl_shader.c +++ b/engine/gl/gl_shader.c @@ -4454,7 +4454,7 @@ char *Shader_DefaultBSPWater(char *shortname) #ifdef GLQUAKE else if (qrenderer == QR_OPENGL && gl_config.arb_shader_objects && !strncmp(shortname, "*lava", 5) && *r_lavastyle.string) wstyle = r_lavastyle.ival; - else if (qrenderer == QR_OPENGL && gl_config.arb_shader_objects && !strncmp(shortname, "*slime", 5) && *r_lavastyle.string) + else if (qrenderer == QR_OPENGL && gl_config.arb_shader_objects && !strncmp(shortname, "*slime", 5) && *r_slimestyle.string) wstyle = r_slimestyle.ival; else if (qrenderer == QR_OPENGL && gl_config.arb_shader_objects && strncmp(shortname, "*lava", 5)) wstyle = r_waterstyle.ival<1?1:r_waterstyle.ival;