hedgewars/uGears.pas
changeset 5689 48ef34701751
parent 5681 5fc750c7f2b4
child 5691 54b12cc39e95
--- a/hedgewars/uGears.pas	Fri Aug 26 21:38:11 2011 -0400
+++ b/hedgewars/uGears.pas	Fri Aug 26 21:49:10 2011 -0400
@@ -863,7 +863,7 @@
                         
                         ChangeToSDClouds;
                         ChangeToSDFlakes;
-                        glClearColor(SDSkyColor.r / 255, SDSkyColor.g / 255, SDSkyColor.b / 255, 0.99);
+                        glClearColor(SDSkyColor.r * (SDTint/255) / 255, SDSkyColor.g * (SDTint/255) / 255, SDSkyColor.b * (SDTint/255) / 255, 0.99);
                         end;
                     AddCaption(trmsg[sidSuddenDeath], cWhiteColor, capgrpGameState);
                     playSound(sndSuddenDeath);