projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55ce3a2
)
also apply nightvision overlay on r_fullbright use (really, nobody should be using...
author
Rudolf Polzer <divverent@alientrap.org>
Sun, 3 Oct 2010 15:37:05 +0000
(17:37 +0200)
committer
Rudolf Polzer <divverent@alientrap.org>
Sun, 3 Oct 2010 15:37:05 +0000
(17:37 +0200)
qcsrc/client/View.qc
patch
|
blob
|
history
diff --git
a/qcsrc/client/View.qc
b/qcsrc/client/View.qc
index 0b7dcac792ec61d61f3dba40a2af3260f6b646c6..1a8174425248483bdc21d2ec5ecf40bd3be2afb6 100644
(file)
--- 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)
+ if(cvar("r_fakelight") >= 2
|| cvar("r_fullbright")
)
{
// apply night vision effect
vector rgb, tc_00, tc_01, tc_10, tc_11;