Changed rewind key from F1 to F11 (F1 always opens the in-game menu).

This commit is contained in:
hiker 2016-04-12 17:37:14 +10:00
parent 7d0953ad83
commit 8763c3aca7

View File

@ -274,8 +274,7 @@ void InputManager::handleStaticAction(int key, int value)
if (value ==0 )
irr_driver->requestScreenshot();
break;
/*
case KEY_F1:
case KEY_F11:
if(value && shift_is_pressed && world && RewindManager::isEnabled())
{
printf("Enter rewind time:");
@ -287,6 +286,9 @@ void InputManager::handleStaticAction(int key, int value)
Log::info("Rewind", "Rewinding from %f to %f",
world->getTime(), world->getTime()-t);
}
break;
/*
else if (UserConfigParams::m_artist_debug_mode && world)
{
AbstractKart* kart = world->getLocalPlayerKart(0);