From e27b6856c97bfb327d3ddf02815f9a25f8c9f626 Mon Sep 17 00:00:00 2001 From: TimePath Date: Mon, 30 Nov 2015 21:57:47 +1100 Subject: [PATCH] Viewmodels: fix white --- qcsrc/client/view.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/view.qc b/qcsrc/client/view.qc index 4714919b9..f483fd50a 100644 --- a/qcsrc/client/view.qc +++ b/qcsrc/client/view.qc @@ -286,7 +286,7 @@ void viewmodel_draw(entity this) { e.drawmask = mask; e.alpha = a; - e.colormap = c; + e.colormap = 256 + c; // colormap == 0 is black, c == 0 is white e.glowmod = g; e.csqcmodel_effects = fx; WITH(entity, self, e, CSQCModel_Effects_Apply()); -- 2.39.2