Fix #4106
This commit is contained in:
parent
958868526f
commit
2e41f675cc
@ -3083,7 +3083,8 @@ SFXBase* Kart::getNextEmitter()
|
||||
m_emitter_id = (m_emitter_id + 1) % EMITTER_COUNT;
|
||||
|
||||
// The emitter is requested when a new sound is to be played.
|
||||
// Always reset the volume to 1.0f (full), see #3596
|
||||
// Always reset the volume to 1.0f (full), as crashes may
|
||||
// have altered it. See issue #3596
|
||||
m_emitters[m_emitter_id]->setVolume(1.0f);
|
||||
|
||||
return m_emitters[m_emitter_id];
|
||||
|
@ -73,7 +73,7 @@ RaceResultGUI::RaceResultGUI() : Screen("race_result.stkgui",
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
/** Besides calling init in the base class this makes all buttons of this
|
||||
* screen invisible. The buttons will only displayed once the animation is
|
||||
* screen invisible. The buttons will be displayed only once the animation is
|
||||
* over.
|
||||
*/
|
||||
void RaceResultGUI::init()
|
||||
|
@ -711,6 +711,7 @@ void TrackInfoScreen::eventCallback(Widget* widget, const std::string& name,
|
||||
else // Other modes
|
||||
{
|
||||
const int num_ai = m_ai_kart_spinner->getValue();
|
||||
race_manager->setNumKarts( race_manager->getNumLocalPlayers() + num_ai );
|
||||
UserConfigParams::m_num_karts_per_gamemode[race_manager->getMinorMode()] = race_manager->getNumLocalPlayers() + num_ai;
|
||||
updateHighScores();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user