From: Ricardo Cruz Date: Thu, 29 Apr 2004 17:32:01 +0000 (+0000) Subject: Fixed a couple of bugs when deleting slots: X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=159575e600e11eadb28e5309ceca62bed365557a;p=supertux.git Fixed a couple of bugs when deleting slots: - don't quit when back button is pressed; - refresh slots when one is deleted. SVN-Revision: 849 --- diff --git a/src/title.cpp b/src/title.cpp index b7d2d9a26..478fc35d6 100644 --- a/src/title.cpp +++ b/src/title.cpp @@ -343,7 +343,6 @@ void title(void) char str[1024]; sprintf(str,"Are you sure you want to delete slot %d?", slot); - Menu::set_current(0); draw_background(); if(confirm_dialog(str)) @@ -353,8 +352,8 @@ void title(void) remove(str); } + update_load_save_game_menu(load_game_menu); update_time = st_get_ticks(); - Menu::set_current(load_game_menu); } else if (process_load_game_menu()) {