From 723f1de4f45de2eed255994d1ac9e803422c8daa Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Wed, 13 Mar 2019 16:25:08 +0100 Subject: [PATCH] decals: default color to 1,1,1, since the blend mode has changed. --- Source/shared/decals.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/shared/decals.c b/Source/shared/decals.c index c3b39a0d..ba7a8ee0 100644 --- a/Source/shared/decals.c +++ b/Source/shared/decals.c @@ -117,6 +117,8 @@ void Decal_Parse(void) self.angles[2] = readcoord(); self.classname = readstring(); + self.color = [1,1,1]; + for (int i = 0; i < g_decalwad.length; i++) { if (self.classname == g_decalwad[i].name) { self.color[0] = (g_decalwad[i].color[0] / 255);