From: havoc Date: Thu, 21 Nov 2002 10:56:30 +0000 (+0000) Subject: fixed a silly and harmless typo in RSurfShader_Water (*chain++ should have been chain++) X-Git-Tag: RELEASE_0_2_0_RC1~61 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9a5813aa435f4334c98f5c8fa65c9059653f31c7;p=xonotic%2Fdarkplaces.git 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 --- 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); }