Print a line to stdout if gamepad-debug is enabled after each frame

(which makes it easier to see which events are handled in the same frame).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9750 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2011-09-05 04:03:49 +00:00
parent 888c4a529b
commit d9d0926f10

View File

@ -1213,7 +1213,12 @@ void IrrDriver::update(float dt)
{
main_loop->abort();
}
if (UserConfigParams::m_gamepad_debug)
{
// Print a dividing line so that it's easier to see which events
// get received in which order in the one frame.
printf("-------------------------------------\n");
}
World *world = World::getWorld();