Sounds can be heard now sdl2transition
authorunc0rr
Thu, 07 Nov 2013 21:15:36 +0400
branchsdl2transition
changeset 9686 352393fc75be
parent 9684 8113075dc7cc
child 9688 98024c99e58d
Sounds can be heard now
hedgewars/hwengine.pas
hedgewars/uWorld.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();
 
--- 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}