decals: default color to 1,1,1, since the blend mode has changed.

This commit is contained in:
Marco Cawthorne 2019-03-13 16:25:08 +01:00
parent 9d869d5c0a
commit 723f1de4f4

View file

@ -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);