]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
oops, missed this
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 16 Oct 2011 08:55:06 +0000 (08:55 +0000)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 16 Oct 2011 18:57:38 +0000 (20:57 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11423 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=f5683ff1ec58b10a8a8602628ae3422eab492c72

gl_rmain.c

index 9a9419f531f656164c097e007bc6c4a30e373fc8..82a75fb42404183c41c3a728988922c629b45043 100644 (file)
@@ -5891,7 +5891,7 @@ static void R_Water_ProcessPlanes(void)
                        if((p->materialflags & MATERIALFLAG_CAMERA) && p->camera_entity)
                        {
                                // we need to perform a matrix transform to render the view... so let's get the transformation matrix
-                               r_waterstate.renderingrefraction = false; // we don't want to hide the player model from these ones
+                               r_waterstate.hideplayer = false; // we don't want to hide the player model from these ones
                                CL_VM_TransformView(p->camera_entity - MAX_EDICTS, &r_refdef.view.matrix, &r_refdef.view.clipplane, visorigin);
                                R_RenderView_UpdateViewVectors();
                                if(r_refdef.scene.worldmodel && r_refdef.scene.worldmodel->brush.FatPVS)