diff -r 24c6fa591866 -r 068adc6948e3 hedgewars/uWorld.pas --- a/hedgewars/uWorld.pas Sun Jun 24 21:32:33 2012 +0400 +++ b/hedgewars/uWorld.pas Sun Jun 24 21:33:45 2012 +0400 @@ -1779,8 +1779,10 @@ if (not cHasFocus) and (GameState <> gsConfirm) then ParseCommand('quit', true); +{$IFDEF USE_VIDEO_RECORDING} // do not change volume during prerecording as it will affect sound in video file if not flagPrerecording then +{$ENDIF} begin if not cHasFocus then DampenAudio() else UndampenAudio();