From a4cd45d12e58f215aa250af9161d053ea816a1db Mon Sep 17 00:00:00 2001 From: Ricardo Cruz Date: Mon, 17 May 2004 10:11:43 +0000 Subject: [PATCH] Don't open the menu on the end sequence. SVN-Revision: 1234 --- src/gameloop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.0