From: Ricardo Cruz Date: Mon, 17 May 2004 10:11:43 +0000 (+0000) Subject: Don't open the menu on the end sequence. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=a4cd45d12e58f215aa250af9161d053ea816a1db;p=supertux.git Don't open the menu on the end sequence. SVN-Revision: 1234 --- diff --git a/src/gameloop.cpp b/src/gameloop.cpp index 807b3e2de..0b86cb3dd 100644 --- a/src/gameloop.cpp +++ b/src/gameloop.cpp @@ -178,7 +178,7 @@ GameSession::start_timers() void GameSession::on_escape_press() { - if(world->get_tux()->dying) + if(world->get_tux()->dying || end_sequence != NO_ENDSEQUENCE) return; // don't let the player open the menu, when he is dying if(game_pause) return;