# HG changeset patch # User unc0rr # Date 1383844536 -14400 # Node ID 352393fc75be10ace88aa2d3dce1f807547ff015 # Parent 8113075dc7cc5e3774eb8c165c745b701b2e2e71 Sounds can be heard now diff -r 8113075dc7cc -r 352393fc75be hedgewars/hwengine.pas --- a/hedgewars/hwengine.pas Thu Nov 07 21:10:17 2013 +0400 +++ b/hedgewars/hwengine.pas Thu Nov 07 21:15:36 2013 +0400 @@ -363,7 +363,7 @@ ParseCommand('fullscr 0', true); end; - //ControllerInit(); // has to happen before InitKbdKeyTable to map keys + ControllerInit(); // has to happen before InitKbdKeyTable to map keys InitKbdKeyTable(); AddProgress(); diff -r 8113075dc7cc -r 352393fc75be hedgewars/uWorld.pas --- a/hedgewars/uWorld.pas Thu Nov 07 21:10:17 2013 +0400 +++ b/hedgewars/uWorld.pas Thu Nov 07 21:15:36 2013 +0400 @@ -1916,7 +1916,7 @@ begin if (not cHasFocus) and (GameState <> gsConfirm) then ParseCommand('quit', true); -{$IFDEF MOBILE} +{$IFDEF SDL2} // when created SDL receives an exposure event that calls UndampenAudio at full power, muting audio exit; {$ENDIF}