Fix issue #1108
This commit is contained in:
parent
144cdc8f68
commit
448a7eb94f
@ -299,7 +299,7 @@ void PowerupManager::updateWeightsForRace(unsigned int num_karts)
|
||||
if(w!=0 && num_karts > 4 &&
|
||||
(type==POWERUP_PARACHUTE || type==POWERUP_SWITCH) )
|
||||
{
|
||||
w = w / (num_karts-4);
|
||||
w = w / (num_karts/4);
|
||||
if(w==0) w=1;
|
||||
}
|
||||
for(unsigned int j=0; j<w; j++)
|
||||
|
Loading…
Reference in New Issue
Block a user