hedgewars/uStore.pas
changeset 5704 718f98a9df12
parent 5696 972bf04d4a79
child 5712 08944be1d679
--- a/hedgewars/uStore.pas	Mon Aug 29 19:28:45 2011 -0400
+++ b/hedgewars/uStore.pas	Tue Aug 30 12:32:33 2011 -0400
@@ -1030,9 +1030,12 @@
     SetupOpenGL();
     if reinit then
         begin
-        if ((cReducedQuality and rqNoBackground) = 0) then 
+        if SuddenDeathDmg then
+             glClearColor(SDSkyColor.r * (SDTint/255) / 255, SDSkyColor.g * (SDTint/255) / 255, SDSkyColor.b * (SDTint/255) / 255, 0.99)
+        else if ((cReducedQuality and rqNoBackground) = 0) then 
              glClearColor(SkyColor.r / 255, SkyColor.g / 255, SkyColor.b / 255, 0.99)
         else glClearColor(RQSkyColor.r / 255, RQSkyColor.g / 255, RQSkyColor.b / 255, 0.99);
+
         StoreRelease(true);
         StoreLoad(true);
         ResetLand;