don't force r_wateralpha to one when not connected

This commit is contained in:
Bill Currie 2001-08-30 18:50:30 +00:00
parent d81d7fd02c
commit a1f4187786

View file

@ -1481,7 +1481,7 @@ Host_Frame (float time)
r_frametime = host_frametime;
// don't allow cheats in multiplayer
if (!atoi (Info_ValueForKey (cl.serverinfo, "watervis")))
if (r_active && !atoi (Info_ValueForKey (cl.serverinfo, "watervis")))
Cvar_SetValue (r_wateralpha, 1);
CL_UpdateScreen (realtime);