remove C++11

This commit is contained in:
konstin
2014-07-24 08:41:45 +02:00
parent eb5e148aa7
commit eae71b3df9
3 changed files with 9 additions and 3 deletions

View File

@@ -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);
}
}
}

View File

@@ -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();

View File

@@ -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();