[Super-tux-commit] supertux/src gameloop.cpp,1.129,1.130
Brought to you by:
wkendrick
From: Ricardo C. <rm...@us...> - 2004-05-17 10:12:02
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11730/src Modified Files: gameloop.cpp Log Message: Don't open the menu on the end sequence. Index: gameloop.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/gameloop.cpp,v retrieving revision 1.129 retrieving revision 1.130 diff -u -d -r1.129 -r1.130 --- gameloop.cpp 16 May 2004 12:31:31 -0000 1.129 +++ gameloop.cpp 17 May 2004 10:11:43 -0000 1.130 @@ -178,7 +178,7 @@ 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; |