]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
another fix
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 2 Oct 2009 09:57:06 +0000 (09:57 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 2 Oct 2009 09:57:06 +0000 (09:57 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9281 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index 0294e451caa4c893522c44c3f908f605adf5ef9b..6778507e0330725f27fb74161d55f2200b5e1620 100644 (file)
@@ -3709,7 +3709,7 @@ static void R_Water_StartFrame(void)
                r_waterstate.textureheight = textureheight;
        }
 
-       if (r_waterstate.waterwidth)
+       if (r_waterstate.texturewidth)
        {
                r_waterstate.enabled = true;