Changed rewind key from F1 to F11 (F1 always opens the in-game menu).
This commit is contained in:
parent
7d0953ad83
commit
8763c3aca7
@ -274,8 +274,7 @@ void InputManager::handleStaticAction(int key, int value)
|
|||||||
if (value ==0 )
|
if (value ==0 )
|
||||||
irr_driver->requestScreenshot();
|
irr_driver->requestScreenshot();
|
||||||
break;
|
break;
|
||||||
/*
|
case KEY_F11:
|
||||||
case KEY_F1:
|
|
||||||
if(value && shift_is_pressed && world && RewindManager::isEnabled())
|
if(value && shift_is_pressed && world && RewindManager::isEnabled())
|
||||||
{
|
{
|
||||||
printf("Enter rewind time:");
|
printf("Enter rewind time:");
|
||||||
@ -287,6 +286,9 @@ void InputManager::handleStaticAction(int key, int value)
|
|||||||
Log::info("Rewind", "Rewinding from %f to %f",
|
Log::info("Rewind", "Rewinding from %f to %f",
|
||||||
world->getTime(), world->getTime()-t);
|
world->getTime(), world->getTime()-t);
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
/*
|
||||||
else if (UserConfigParams::m_artist_debug_mode && world)
|
else if (UserConfigParams::m_artist_debug_mode && world)
|
||||||
{
|
{
|
||||||
AbstractKart* kart = world->getLocalPlayerKart(0);
|
AbstractKart* kart = world->getLocalPlayerKart(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user