]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix r_fullbright check
authorRudolf Polzer <divverent@alientrap.org>
Sat, 1 Jan 2011 18:47:24 +0000 (19:47 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 1 Jan 2011 18:47:24 +0000 (19:47 +0100)
qcsrc/client/View.qc

index 160ad063f17744ef89c96c6480fa08c36ad82b81..704e58107f597a67ec33e3b201a816da196b09fc 100644 (file)
@@ -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