hedgewars/uGame.pas
changeset 2579 e5e4ebf528b5
parent 2382 bfd378dfc4e7
child 2586 204e6b2885bc
equal deleted inserted replaced
2578:ec8e69b23097 2579:e5e4ebf528b5
    62                         GameState:= gsExit;
    62                         GameState:= gsExit;
    63                         exit
    63                         exit
    64                         end;
    64                         end;
    65                gmtSave: begin
    65                gmtSave: begin
    66                         RestoreTeamsFromSave;
    66                         RestoreTeamsFromSave;
       
    67 {$IFNDEF IPHONEOS}
    67                         SetBinds(CurrentTeam^.Binds);
    68                         SetBinds(CurrentTeam^.Binds);
       
    69 {$ENDIF}
    68                         //CurrentHedgehog^.Gear^.Message:= 0; <- produces bugs with further save restoring and demos
    70                         //CurrentHedgehog^.Gear^.Message:= 0; <- produces bugs with further save restoring and demos
    69                         isSoundEnabled:= isSEBackup;
    71                         isSoundEnabled:= isSEBackup;
    70                         GameType:= gmtLocal
    72                         GameType:= gmtLocal
    71                         end;
    73                         end;
    72                end
    74                end