From 6edf9d1e2f19f39389dbe334f64864266ba53556 Mon Sep 17 00:00:00 2001 From: AnotherCommander Date: Fri, 21 Dec 2018 16:29:16 +0100 Subject: [PATCH] Fixed dust color not getting mixed with 50 percent white, as intended, when sun color was set manually. --- src/Core/Universe.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Universe.m b/src/Core/Universe.m index f3eea3f5..9cf78fcf 100644 --- a/src/Core/Universe.m +++ b/src/Core/Universe.m @@ -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]]]; } } }