remove C++11
This commit is contained in:
@@ -709,7 +709,9 @@ void RaceManager::exitRace(bool delete_world)
|
||||
{
|
||||
Log::error("RaceManager", "There are no winners and no losers."
|
||||
"This should have never happend\n");
|
||||
scene->setKarts({UserConfigParams::m_default_kart});
|
||||
std::vector<std::string> karts;
|
||||
karts.push_back(UserConfigParams::m_default_kart);
|
||||
scene->setKarts(karts);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -112,7 +112,9 @@ void GrandPrixLose::loadedFromFile()
|
||||
|
||||
void GrandPrixLose::init()
|
||||
{
|
||||
((CutsceneWorld*)World::getWorld())->setParts({"gplose"});
|
||||
std::vector<std::string> parts;
|
||||
parts.push_back("gplose");
|
||||
((CutsceneWorld*)World::getWorld())->setParts(parts);
|
||||
CutsceneWorld::setUseDuration(false);
|
||||
|
||||
Screen::init();
|
||||
|
||||
@@ -105,7 +105,9 @@ void GrandPrixWin::onCutsceneEnd()
|
||||
|
||||
void GrandPrixWin::init()
|
||||
{
|
||||
((CutsceneWorld*)World::getWorld())->setParts({"gpwin"});
|
||||
std::vector<std::string> parts;
|
||||
parts.push_back("gpwin");
|
||||
((CutsceneWorld*)World::getWorld())->setParts(parts);
|
||||
CutsceneWorld::setUseDuration(false);
|
||||
|
||||
Screen::init();
|
||||
|
||||
Reference in New Issue
Block a user