From: Rudolf Polzer Date: Tue, 9 Nov 2010 20:50:15 +0000 (+0100) Subject: simplify even more :P X-Git-Tag: xonotic-v0.1.0preview~170 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5e760c56ddf9bdd50f9b05ba58bef3fe1e8cd5f9;p=xonotic%2Fxonotic-data.pk3dir.git simplify even more :P --- diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index e4891caad..3c1b699fb 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -566,7 +566,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(cvar("r_fakelight") >= 2 || cvar("r_fullbright") >= 1) + if(cvar("r_fakelight") == 2 || cvar("r_fullbright") == 1) { // apply night vision effect vector rgb, tc_00, tc_01, tc_10, tc_11;