zinnschlag/openmw — pull request #160 by scrawl (2012-04-05 20:21:02+00:00)
Title: fixed input handling priority in the main loop

This was another leftover from Nico's poor engine design. The input handler was an Ogre::FrameListener which means that basically we let Ogre decide in which order it calls them. In this case it was called _after_ the engine main loop, which caused input events (e.g. player movement) to appear in the next frame, and not in the current frame. This patch should improve the game's input responsiveness, especially on lower frame rates.