Add parachute to testing cheats (press F6). And trailing whitespace.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4885 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
11f6e2f718
commit
72411827ea
@ -141,10 +141,17 @@ void InputManager::handleStaticAction(int key, int value)
|
||||
break;
|
||||
case KEY_F5:
|
||||
if (race_manager->getNumPlayers() ==1 )
|
||||
{
|
||||
{
|
||||
Kart* kart = world->getLocalPlayerKart(0);
|
||||
kart->setPowerup(POWERUP_BOWLING, 10000);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case KEY_F6:
|
||||
if (race_manager->getNumPlayers() == 1)
|
||||
{
|
||||
Kart* kart = world->getLocalPlayerKart(0);
|
||||
kart->setPowerup(POWERUP_PARACHUTE, 10000);
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
case KEY_F12:
|
||||
|
Loading…
Reference in New Issue
Block a user