Disable swapper powerup in battle mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4818 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
b656321ba6
commit
6ef1b804a5
@ -314,9 +314,12 @@ void ThreeStrikesBattle::raceResultOrder( int* order )
|
||||
bool ThreeStrikesBattle::acceptPowerup(const PowerupType type) const
|
||||
{
|
||||
// these powerups don't make much sense in battle mode
|
||||
if(type == POWERUP_PARACHUTE || type == POWERUP_ANVIL ||
|
||||
type == POWERUP_BUBBLEGUM || type == POWERUP_ZIPPER)
|
||||
if (type == POWERUP_PARACHUTE || type == POWERUP_ANVIL ||
|
||||
type == POWERUP_BUBBLEGUM || type == POWERUP_ZIPPER ||
|
||||
type == POWERUP_SWITCH)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
} // acceptPowerup
|
||||
|
Loading…
x
Reference in New Issue
Block a user