hedgewars/uStore.pas
changeset 11900 19cb0de79287
parent 11827 4600dcb9db4f
child 11944 c7ec309cd685
--- a/hedgewars/uStore.pas	Wed Nov 16 18:06:02 2016 +0100
+++ b/hedgewars/uStore.pas	Wed Nov 16 12:26:26 2016 -0500
@@ -1131,7 +1131,7 @@
         // clean the window from any previous content
         RenderClear();
         if SuddenDeathDmg then
-            SetSkyColor(SDSkyColor.r * (SDTint/255) / 255, SDSkyColor.g * (SDTint/255) / 255, SDSkyColor.b * (SDTint/255) / 255)
+            SetSkyColor(SDSkyColor.r * (SDTint.r/255) / 255, SDSkyColor.g * (SDTint.g/255) / 255, SDSkyColor.b * (SDTint.b/255) / 255)
         else if ((cReducedQuality and rqNoBackground) = 0) then
             SetSkyColor(SkyColor.r / 255, SkyColor.g / 255, SkyColor.b / 255)
         else