]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/View.qc
cvar: sv_allow_fullbright
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / View.qc
index e4891caad124d86540abd7400d54b8b3fe8ef828..1c58d390450f2a57cb59d89e3f766d4894b44713 100644 (file)
@@ -567,6 +567,7 @@ void CSQC_UpdateView(float w, float h)
        drawstring('0 0 0', "", '1 1 0', '1 1 1', 0, 0);
 
        if(cvar("r_fakelight") >= 2 || cvar("r_fullbright") >= 1)
+       if not(serverflags & SERVERFLAG_ALLOW_FULLBRIGHT)
        {
                // apply night vision effect
                vector rgb, tc_00, tc_01, tc_10, tc_11;