From: Ricardo Cruz Date: Tue, 20 Apr 2004 18:46:57 +0000 (+0000) Subject: Level test mode didn't quit properly when Esc was pressed (fixed) X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=856b08c46cb73ba96d6aa8e2e6117036d75c855d;p=supertux.git Level test mode didn't quit properly when Esc was pressed (fixed) SVN-Revision: 600 --- diff --git a/src/gameloop.cpp b/src/gameloop.cpp index 40a609b5a..11cab6577 100644 --- a/src/gameloop.cpp +++ b/src/gameloop.cpp @@ -493,9 +493,6 @@ GameSession::run() frame_ratio -= 1.0f; } overlap = frame_ratio; - - if (exit_status != NONE) - return exit_status; } else { @@ -563,7 +560,7 @@ GameSession::run() } } } - + halt_music(); world->get_level()->free_gfx();