hedgewars/uGame.pas
changeset 3663 8c28abf427f5
parent 3465 b290993c0810
child 3902 3aac7ca07b0e
equal deleted inserted replaced
3662:a44406f4369b 3663:8c28abf427f5
    60                         GameState:= gsExit;
    60                         GameState:= gsExit;
    61                         exit
    61                         exit
    62                         end;
    62                         end;
    63                gmtSave: begin
    63                gmtSave: begin
    64                         RestoreTeamsFromSave;
    64                         RestoreTeamsFromSave;
    65 {$IFNDEF IPHONEOS}
       
    66                         SetBinds(CurrentTeam^.Binds);
    65                         SetBinds(CurrentTeam^.Binds);
    67 {$ENDIF}
       
    68                         //CurrentHedgehog^.Gear^.Message:= 0; <- produces bugs with further save restoring and demos
    66                         //CurrentHedgehog^.Gear^.Message:= 0; <- produces bugs with further save restoring and demos
    69                         isSoundEnabled:= isSEBackup;
    67                         isSoundEnabled:= isSEBackup;
    70                         GameType:= gmtLocal
    68                         GameType:= gmtLocal
    71                         end;
    69                         end;
    72                end
    70                end