]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fixed a silly and harmless typo in RSurfShader_Water (*chain++ should have been chain++)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 21 Nov 2002 10:56:30 +0000 (10:56 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 21 Nov 2002 10:56:30 +0000 (10:56 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2642 d7cf8633-e32d-0410-b094-e92efae38249

gl_rsurf.c

index 2318141d5db34f3e81c759c47b234de6f2bd9cb1..f6255c272c714cc3655506e97504689d7a23bdc5 100644 (file)
@@ -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);
 }