Add bubblegum to cheats (F5) and make real gum become small nitro on swap.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4662 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
a5119510d1
commit
6f2a459096
@ -91,7 +91,7 @@ switch-items for each item list the index of the item it is switched with.
|
||||
zipper-speed-gain="4.5"
|
||||
zipper-max-speed-fraction="2.0"
|
||||
item-switch-time="5"
|
||||
switch-items="1 0 4 4 0"
|
||||
switch-items="1 0 4 4 3"
|
||||
/>
|
||||
|
||||
<!-- GENERAL KART DEFAULTS
|
||||
|
@ -135,6 +135,13 @@ void InputManager::handleStaticAction(int key, int value)
|
||||
if(value && control_is_pressed)
|
||||
UserConfigParams::m_bullet_debug = !UserConfigParams::m_bullet_debug;
|
||||
break;
|
||||
case KEY_F5:
|
||||
if (race_manager->getNumPlayers() ==1 )
|
||||
{
|
||||
Kart* kart = RaceManager::getPlayerKart(0);
|
||||
kart->setPowerup(POWERUP_BUBBLEGUM, 10000);
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
case KEY_F12:
|
||||
UserConfigParams::m_display_fps = !UserConfigParams::m_display_fps;
|
||||
|
Loading…
Reference in New Issue
Block a user