diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -321,7 +321,6 @@ static float debugY=0; void mainLoop(void){ static unsigned int debugDiv=0; // A divisor used to update the debug menu if it's open - World *prev; game::time::mainLoopHandler(); @@ -329,14 +328,8 @@ void mainLoop(void){ return; } else { // handle keypresses - currentWorld could change here - prev = currentWorld; ui::handleEvents(); - if(prev != currentWorld){ - currentWorld->bgmPlay(prev); - ui::dialogBoxExists = false; - } - if (game::time::tickHasPassed()) logic(); |