hedgewars/uGears.pas
changeset 6472 bced12412f94
parent 6468 da1e7fe7cff7
child 6515 74a04089bb56
equal deleted inserted replaced
6471:010ec2fa7d7b 6472:bced12412f94
   351                         ChangeToSDFlakes;
   351                         ChangeToSDFlakes;
   352                         glClearColor(SDSkyColor.r * (SDTint/255) / 255, SDSkyColor.g * (SDTint/255) / 255, SDSkyColor.b * (SDTint/255) / 255, 0.99);
   352                         glClearColor(SDSkyColor.r * (SDTint/255) / 255, SDSkyColor.g * (SDTint/255) / 255, SDSkyColor.b * (SDTint/255) / 255, 0.99);
   353                         end;
   353                         end;
   354                     AddCaption(trmsg[sidSuddenDeath], cWhiteColor, capgrpGameState);
   354                     AddCaption(trmsg[sidSuddenDeath], cWhiteColor, capgrpGameState);
   355                     playSound(sndSuddenDeath);
   355                     playSound(sndSuddenDeath);
   356                     MusicFN:= SDMusic;
   356                     StopMusic //No SDMusic for now
   357                     ChangeMusic
   357                     //MusicFN:= SDMusic;
       
   358                     //ChangeMusic
   358                     end
   359                     end
   359                 else if (TotalRounds < cSuddenDTurns) and (not isInMultiShoot) then
   360                 else if (TotalRounds < cSuddenDTurns) and (not isInMultiShoot) then
   360                     begin
   361                     begin
   361                     i:= cSuddenDTurns - TotalRounds;
   362                     i:= cSuddenDTurns - TotalRounds;
   362                     s:= inttostr(i);
   363                     s:= inttostr(i);