hedgewars/uStore.pas
changeset 11895 19cb0de79287
parent 11822 4600dcb9db4f
child 11939 c7ec309cd685
equal deleted inserted replaced
11894:dd3cbbde7876 11895:19cb0de79287
  1129     if reinit then
  1129     if reinit then
  1130         begin
  1130         begin
  1131         // clean the window from any previous content
  1131         // clean the window from any previous content
  1132         RenderClear();
  1132         RenderClear();
  1133         if SuddenDeathDmg then
  1133         if SuddenDeathDmg then
  1134             SetSkyColor(SDSkyColor.r * (SDTint/255) / 255, SDSkyColor.g * (SDTint/255) / 255, SDSkyColor.b * (SDTint/255) / 255)
  1134             SetSkyColor(SDSkyColor.r * (SDTint.r/255) / 255, SDSkyColor.g * (SDTint.g/255) / 255, SDSkyColor.b * (SDTint.b/255) / 255)
  1135         else if ((cReducedQuality and rqNoBackground) = 0) then
  1135         else if ((cReducedQuality and rqNoBackground) = 0) then
  1136             SetSkyColor(SkyColor.r / 255, SkyColor.g / 255, SkyColor.b / 255)
  1136             SetSkyColor(SkyColor.r / 255, SkyColor.g / 255, SkyColor.b / 255)
  1137         else
  1137         else
  1138             SetSkyColor(RQSkyColor.r / 255, RQSkyColor.g / 255, RQSkyColor.b / 255);
  1138             SetSkyColor(RQSkyColor.r / 255, RQSkyColor.g / 255, RQSkyColor.b / 255);
  1139 
  1139