Add zipper cheat, F7 key. Useful to test high speed behaviour.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4956 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
220f00ed10
commit
9606ee9ab6
@ -153,6 +153,12 @@ void InputManager::handleStaticAction(int key, int value)
|
||||
kart->setPowerup(POWERUP_PARACHUTE, 10000);
|
||||
}
|
||||
break;
|
||||
case KEY_F7:
|
||||
if (race_manager->getNumPlayers() == 1)
|
||||
{
|
||||
Kart* kart = world->getLocalPlayerKart(0);
|
||||
kart->setPowerup(POWERUP_ZIPPER, 10000);
|
||||
}
|
||||
#endif
|
||||
case KEY_F12:
|
||||
UserConfigParams::m_display_fps = !UserConfigParams::m_display_fps;
|
||||
|
Loading…
Reference in New Issue
Block a user