# HG changeset patch # User koda # Date 1351390369 -3600 # Node ID a595d4f4837dc50cb0d200c266fadeca4e7f817e # Parent 77a6abce92b547709e255446dd243b4c4de181cd disable audio dampening on mobile diff -r 77a6abce92b5 -r a595d4f4837d hedgewars/uWorld.pas --- a/hedgewars/uWorld.pas Sun Oct 28 00:16:59 2012 +0200 +++ b/hedgewars/uWorld.pas Sun Oct 28 03:12:49 2012 +0100 @@ -1801,6 +1801,10 @@ begin if (not cHasFocus) and (GameState <> gsConfirm) then ParseCommand('quit', true); +{$IFDEF MOBILE} +// when created SDL receives an exposure event that calls UndampenAudio at full power, muting audio +exit; +{$ENDIF} {$IFDEF USE_VIDEO_RECORDING} // do not change volume during prerecording as it will affect sound in video file