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:
mbjornstk 2010-02-28 22:39:28 +00:00
parent 11f6e2f718
commit 72411827ea

View File

@ -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: