Fix for #453 (Menu frame lingers)
authormmlosh <mmlosh@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Wed, 29 Jul 2009 17:29:31 +0000 (17:29 +0000)
committermmlosh <mmlosh@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Wed, 29 Jul 2009 17:29:31 +0000 (17:29 +0000)
commit728f18780d7a71b382e4290ccafb52fbc50c5e06
tree337e0bb6dd4c58271b72cdd3c9970268f0574d8c
parentaecec85cbac7abdc3d2dbf243e45d3908a927853
Fix for #453 (Menu frame lingers)
* moved "Menu::set_current(NULL);" before fadeout, so it closes during it
* added main_loop->has_no_pending_fadeout() to avoid reopening main menu during fadeouts.

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@5906 837edb03-e0f3-0310-88ca-d4d4e8b29345
src/game_session.cpp
src/levelintro.cpp
src/mainloop.cpp
src/mainloop.hpp
src/textscroller.cpp
src/title.cpp