Merge branch 'master' of github.com:supertuxkart/stk-code
This commit is contained in:
commit
2c5430e66c
@ -401,4 +401,4 @@ install(FILES ${STK_DATA_DIR}/supertuxkart.desktop DESTINATION share/application
|
|||||||
install(FILES data/supertuxkart_32.png DESTINATION share/icons/hicolor/32x32 RENAME supertuxkart.png)
|
install(FILES data/supertuxkart_32.png DESTINATION share/icons/hicolor/32x32 RENAME supertuxkart.png)
|
||||||
install(FILES data/supertuxkart_128.png DESTINATION share/icons/hicolor/128x128 RENAME supertuxkart.png)
|
install(FILES data/supertuxkart_128.png DESTINATION share/icons/hicolor/128x128 RENAME supertuxkart.png)
|
||||||
install(FILES data/supertuxkart_32.png data/supertuxkart_128.png DESTINATION share/pixmaps)
|
install(FILES data/supertuxkart_32.png data/supertuxkart_128.png DESTINATION share/pixmaps)
|
||||||
install(FILES data/supertuxkart.appdata DESTINATION share/appdata)
|
install(FILES data/supertuxkart.appdata.xml DESTINATION share/appdata)
|
||||||
|
@ -299,7 +299,7 @@ void PowerupManager::updateWeightsForRace(unsigned int num_karts)
|
|||||||
if(w!=0 && num_karts > 4 &&
|
if(w!=0 && num_karts > 4 &&
|
||||||
(type==POWERUP_PARACHUTE || type==POWERUP_SWITCH) )
|
(type==POWERUP_PARACHUTE || type==POWERUP_SWITCH) )
|
||||||
{
|
{
|
||||||
w = w / (num_karts-4);
|
w = w / (num_karts/4);
|
||||||
if(w==0) w=1;
|
if(w==0) w=1;
|
||||||
}
|
}
|
||||||
for(unsigned int j=0; j<w; j++)
|
for(unsigned int j=0; j<w; j++)
|
||||||
|
Loading…
Reference in New Issue
Block a user