hedgewars/uGears.pas
changeset 11204 3ff617fccc67
parent 11046 47a8c19ecb60
child 11469 26068971a4de
equal deleted inserted replaced
11203:2f4d0a387a02 11204:3ff617fccc67
   318                     SetSkyColor(SDSkyColor.r * (SDTint/255) / 255, SDSkyColor.g * (SDTint/255) / 255, SDSkyColor.b * (SDTint/255) / 255);
   318                     SetSkyColor(SDSkyColor.r * (SDTint/255) / 255, SDSkyColor.g * (SDTint/255) / 255, SDSkyColor.b * (SDTint/255) / 255);
   319                     Ammoz[amTardis].SkipTurns:= 9999;
   319                     Ammoz[amTardis].SkipTurns:= 9999;
   320                     Ammoz[amTardis].Probability:= 0;
   320                     Ammoz[amTardis].Probability:= 0;
   321                     end;
   321                     end;
   322                 AddCaption(trmsg[sidSuddenDeath], cWhiteColor, capgrpGameState);
   322                 AddCaption(trmsg[sidSuddenDeath], cWhiteColor, capgrpGameState);
       
   323                 ScriptCall('onSuddenDeath');
   323                 playSound(sndSuddenDeath);
   324                 playSound(sndSuddenDeath);
   324                 StopMusic;
   325                 StopMusic;
   325                 if SDMusicFN <> '' then PlayMusic
   326                 if SDMusicFN <> '' then PlayMusic
   326                 end
   327                 end
   327             else if (TotalRounds < cSuddenDTurns) and (not isInMultiShoot) then
   328             else if (TotalRounds < cSuddenDTurns) and (not isInMultiShoot) then