hedgewars/uGame.pas
changeset 7021 0c75512a8920
parent 6954 a61458a81480
child 7061 4e0fc59ab1ce
equal deleted inserted replaced
7019:333afe233886 7021:0c75512a8920
    77                         end;
    77                         end;
    78                 gmtSave: begin
    78                 gmtSave: begin
    79                         RestoreTeamsFromSave;
    79                         RestoreTeamsFromSave;
    80                         SetBinds(CurrentTeam^.Binds);
    80                         SetBinds(CurrentTeam^.Binds);
    81                         //CurrentHedgehog^.Gear^.Message:= 0; <- produces bugs with further save restoring and demos
    81                         //CurrentHedgehog^.Gear^.Message:= 0; <- produces bugs with further save restoring and demos
    82                         isSoundEnabled:= isSEBackup;
    82                         SetSound;   // restore previous sound state
    83                         PlayMusic;
    83                         PlayMusic;
    84                         GameType:= gmtLocal;
    84                         GameType:= gmtLocal;
    85                         AddVisualGear(0, 0, vgtTeamHealthSorter);
    85                         AddVisualGear(0, 0, vgtTeamHealthSorter);
    86                         AddVisualGear(0, 0, vgtSmoothWindBar);
    86                         AddVisualGear(0, 0, vgtSmoothWindBar);
    87                         {$IFDEF IPHONEOS}InitIPC;{$ENDIF}
    87                         {$IFDEF IPHONEOS}InitIPC;{$ENDIF}