Removed debug code (always get bubble gum as powerup).

This commit is contained in:
hiker 2018-05-27 23:44:51 +10:00
parent ab3a3e1155
commit d0e95d0d63

View File

@ -477,7 +477,6 @@ void Powerup::hitBonusBox(const ItemState &item_state)
int random_number = item_state.getItemId() + world->getTimeTicks() / 10;
new_powerup =
powerup_manager->getRandomPowerup(position, &n, random_number);
new_powerup = PowerupManager::POWERUP_BUBBLEGUM;
if (new_powerup != PowerupManager::POWERUP_RUBBERBALL ||
(world->getTicksSinceStart() - powerup_manager->getBallCollectTicks())
> RubberBall::getTicksBetweenRubberBalls())