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:
parent
888c4a529b
commit
d9d0926f10
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user