also apply nightvision overlay on r_fullbright use (really, nobody should be using...
authorRudolf Polzer <divverent@alientrap.org>
Sun, 3 Oct 2010 15:37:05 +0000 (17:37 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 3 Oct 2010 15:37:05 +0000 (17:37 +0200)
qcsrc/client/View.qc

index 0b7dcac792ec61d61f3dba40a2af3260f6b646c6..1a8174425248483bdc21d2ec5ecf40bd3be2afb6 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);
 
-       if(cvar("r_fakelight") >= 2)
+       if(cvar("r_fakelight") >= 2 || cvar("r_fullbright"))
        {
                // apply night vision effect
                vector rgb, tc_00, tc_01, tc_10, tc_11;