hedgewars/uWorld.pas
changeset 11895 19cb0de79287
parent 11887 083c12795632
child 11912 d3a852554aa7
--- a/hedgewars/uWorld.pas	Wed Nov 16 18:06:02 2016 +0100
+++ b/hedgewars/uWorld.pas	Wed Nov 16 12:26:26 2016 -0500
@@ -1193,7 +1193,7 @@
         // background
         ChangeDepth(RM, cStereo_Sky);
         if SuddenDeathDmg then
-            Tint(SDTint, SDTint, SDTint, $FF);
+            Tint(SDTint.r, SDTint.g, SDTint.b, $FF);
         DrawRepeated(sprSky, sprSkyL, sprSkyR, (WorldDx + LAND_WIDTH div 2) * 3 div 8, SkyOffset);
         ChangeDepth(RM, -cStereo_Horizon);
         DrawRepeated(sprHorizont, sprHorizontL, sprHorizontR, (WorldDx + LAND_WIDTH div 2) * 3 div 5, HorizontOffset);