Removed some disabled code
authorIngo Ruhnke <grumbel@gmail.com>
Sat, 9 Aug 2014 05:52:58 +0000 (07:52 +0200)
committerIngo Ruhnke <grumbel@gmail.com>
Sat, 9 Aug 2014 05:52:58 +0000 (07:52 +0200)
src/supertux/game_session.cpp

index b7c6f5a..69e5fde 100644 (file)
@@ -322,16 +322,6 @@ GameSession::run_script(std::istream& in, const std::string& sourcename)
 void
 GameSession::process_events()
 {
-  // end of pause mode?
-  // XXX this looks like a fail-safe to unpause the game if there's no menu
-  // XXX having it enabled causes some unexpected problems
-  // XXX hopefully disabling it won't...
-  /*
-    if(!Menu::current() && game_pause) {
-    game_pause = false;
-    }
-  */
-
   // playback a demo?
   if(playback_demo_stream != 0) {
     demo_controller->update();