hedgewars/uWorld.pas
changeset 7286 068adc6948e3
parent 7278 000e4543f204
child 7347 88685fbb2679
--- 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();