]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_rmain.c
oops, missed this
[xonotic/darkplaces.git] / 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)