Removed the game's automatic pausing when window focus is lost.

This feature is just annoying if for some reason you want to leave
the game to do something else while you wait for something. That
would normally be a defect, but I can't count the number of times
I've been rushing through to get to a particular area, using cheats,
and had to wait for some mission condition, and this is only made
worse by not being able to do some other work while I wait for it.
This commit is contained in:
onpon4 2015-05-20 10:43:04 -04:00
parent 1c42d07906
commit d4ff9213b5
1 changed files with 0 additions and 5 deletions

View File

@ -250,11 +250,6 @@ void getPlayerInput()
engine.keyState[KEY_RIGHT] = prevjoyright = joyright;
}
break;
case SDL_WINDOWEVENT:
if(engine.event.window.event == SDL_WINDOWEVENT_FOCUS_LOST)
engine.paused = 1;
break;
}
if (engine.keyState[KEY_FULLSCREEN])