Fix for #453 (Menu frame lingers)
authorMiloš Klouček <m.kloucek.m@atlas.cz>
Wed, 29 Jul 2009 17:29:31 +0000 (17:29 +0000)
committerMiloš Klouček <m.kloucek.m@atlas.cz>
Wed, 29 Jul 2009 17:29:31 +0000 (17:29 +0000)
commit5667d7e94d85f968ab914bc457edd689fc907253
tree337e0bb6dd4c58271b72cdd3c9970268f0574d8c
parentb029182b66e1f36e8eb7a1d8d23d26d475dec45f
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.

SVN-Revision: 5906
src/game_session.cpp
src/levelintro.cpp
src/mainloop.cpp
src/mainloop.hpp
src/textscroller.cpp
src/title.cpp