From e6c36fd8de9ca7cad4a787fcc73183a2a50d07b8 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sat, 1 Jan 2011 19:47:24 +0100 Subject: [PATCH] fix r_fullbright check --- qcsrc/client/View.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index 160ad063f..704e58107 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -572,7 +572,7 @@ void CSQC_UpdateView(float w, float h) // next R_RenderScene call drawstring('0 0 0', "", '1 1 0', '1 1 1', 0, 0); - if(autocvar_r_fakelight >= 2 || autocvar_r_fullbright >= 1) + if(autocvar_r_fakelight >= 2 || autocvar_r_fullbright) if not(serverflags & SERVERFLAG_ALLOW_FULLBRIGHT) { // apply night vision effect -- 2.39.2