decals: default color to 1,1,1, since the blend mode has changed.
This commit is contained in:
parent
9d869d5c0a
commit
723f1de4f4
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue