From 9a5813aa435f4334c98f5c8fa65c9059653f31c7 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 21 Nov 2002 10:56:30 +0000 Subject: [PATCH] fixed a silly and harmless typo in RSurfShader_Water (*chain++ should have been chain++) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2642 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rsurf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gl_rsurf.c b/gl_rsurf.c index 2318141d..f6255c27 100644 --- a/gl_rsurf.c +++ b/gl_rsurf.c @@ -869,7 +869,7 @@ static void RSurfShader_Water(const entity_render_t *ent, const texture_t *textu vec3_t center; if (texture->rendertype != SURFRENDER_OPAQUE) { - for (chain = surfchain;(surf = *chain) != NULL;*chain++) + for (chain = surfchain;(surf = *chain) != NULL;chain++) { if (surf->visframe == r_framecount) { @@ -879,7 +879,7 @@ static void RSurfShader_Water(const entity_render_t *ent, const texture_t *textu } } else - for (chain = surfchain;(surf = *chain) != NULL;*chain++) + for (chain = surfchain;(surf = *chain) != NULL;chain++) if (surf->visframe == r_framecount) RSurfShader_Water_Callback(ent, surf - ent->model->surfaces); } -- 2.39.2