Fixed dust color not getting mixed with 50 percent white, as intended, when sun color was set manually.

This commit is contained in:
AnotherCommander 2018-12-21 16:29:16 +01:00
parent 4214d58d63
commit 6edf9d1e2f

View File

@ -7760,7 +7760,7 @@ static void VerifyDesc(NSString *key, id desc)
}
for (i = n_entities - 1; i > 0; i--)
if ((sortedEntities[i]) && ([sortedEntities[i] isKindOfClass:[DustEntity class]]))
[(DustEntity*)sortedEntities[i] setDustColor:color];
[(DustEntity*)sortedEntities[i] setDustColor:[color blendedColorWithFraction:0.5 ofColor:[OOColor whiteColor]]];
}
}
}