]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
add a new way to enable fullbright for those poor people who REALLY need it (easy...
authorRudolf Polzer <divVerent@xonotic.org>
Tue, 9 Nov 2010 20:46:13 +0000 (21:46 +0100)
committerRudolf Polzer <divVerent@xonotic.org>
Tue, 9 Nov 2010 20:46:13 +0000 (21:46 +0100)
qcsrc/client/View.qc

index 235b3aedf0a2eab8b1353e031756e07cc25a4334..e4891caad124d86540abd7400d54b8b3fe8ef828 100644 (file)
@@ -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);
 
        // next R_RenderScene call
        drawstring('0 0 0', "", '1 1 0', '1 1 1', 0, 0);
 
-       if(cvar("r_fakelight") >= 2 || cvar("r_fullbright"))
+       if(cvar("r_fakelight") >= 2 || cvar("r_fullbright") >= 1)
        {
                // apply night vision effect
                vector rgb, tc_00, tc_01, tc_10, tc_11;
        {
                // apply night vision effect
                vector rgb, tc_00, tc_01, tc_10, tc_11;