Fix #4148
This commit is contained in:
parent
771f37138c
commit
81ca14d549
@ -65,6 +65,9 @@ void Powerup::reset()
|
||||
m_type = PowerupManager::POWERUP_NOTHING;
|
||||
m_number = 0;
|
||||
|
||||
// Ghost kart will update powerup every frame
|
||||
if (m_kart->isGhostKart())
|
||||
return;
|
||||
int type, number;
|
||||
World::getWorld()->getDefaultCollectibles( &type, &number );
|
||||
set( (PowerupManager::PowerupType)type, number );
|
||||
|
Loading…
x
Reference in New Issue
Block a user