From: Tobias Gläßer Date: Sat, 13 Mar 2004 18:55:25 +0000 (+0000) Subject: fixed save/load-game. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=d5b8b9238d97594bed04626c9629913de781251a;p=supertux.git fixed save/load-game. SVN-Revision: 205 --- diff --git a/src/setup.c b/src/setup.c index 2f7e48c45..336ae92d9 100644 --- a/src/setup.c +++ b/src/setup.c @@ -387,18 +387,18 @@ void process_save_load_game_menu(int save) { if(save == YES) { - savegame(slot); + savegame(slot - 1); } else { if(game_started == NO) { - gameloop("default",slot,ST_GL_LOAD_GAME); + gameloop("default",slot - 1,ST_GL_LOAD_GAME); show_menu = YES; menu_set_current(&main_menu); } else - loadgame(slot); + loadgame(slot - 1); } st_pause_ticks_stop(); }