--- a/hedgewars/uGame.pas Thu Aug 26 23:59:18 2010 +0200
+++ b/hedgewars/uGame.pas Wed Oct 27 14:02:20 2010 +0200
@@ -26,7 +26,7 @@
////////////////////
implementation
////////////////////
-uses uMisc, uConsts, uKeys, uTeams, uIO, uAI, uGears, uScript;
+uses uMisc, uConsts, uKeys, uTeams, uIO, uAI, uGears, uScript, uSound, uMobile;
procedure DoGameTick(Lag: LongInt);
var i: LongInt;
@@ -65,7 +65,10 @@
SetBinds(CurrentTeam^.Binds);
//CurrentHedgehog^.Gear^.Message:= 0; <- produces bugs with further save restoring and demos
isSoundEnabled:= isSEBackup;
- GameType:= gmtLocal
+ if isSoundEnabled then playMusic;
+ GameType:= gmtLocal;
+ InitIPC;
+ perfExt_SaveFinishedSynching();
end;
end
else ProcessGears