Renamed Mission -> Level, MissionController -> LevelController

As suggested by @CoLoRaptor
master
krzys-h 2015-07-08 20:13:09 +02:00
parent c18b5daf57
commit 1361473358
1 changed files with 3 additions and 3 deletions
src/object

View File

@ -3249,10 +3249,10 @@ void CRobotMain::CreateScene(bool soluce, bool fixScene, bool resetObject)
continue;
}
if ((line->GetCommand() == "Global" || line->GetCommand() == "Mission") && !resetObject)
if ((line->GetCommand() == "Global" || line->GetCommand() == "Level") && !resetObject)
{
if (line->GetCommand() == "Global")
CLogger::GetInstancePointer()->Warn("Using Global is deprecated. Please use Mission instead.\n");
CLogger::GetInstancePointer()->Warn("Using Global is deprecated. Please use Level instead.\n");
g_unit = line->GetParam("unitScale")->AsFloat(4.0f);
m_engine->SetTracePrecision(line->GetParam("traceQuality")->AsFloat(1.0f));
@ -3459,7 +3459,7 @@ void CRobotMain::CreateScene(bool soluce, bool fixScene, bool resetObject)
continue;
}
if (line->GetCommand() == "MissionController" && read[0] == 0)
if (line->GetCommand() == "LevelController" && read[0] == 0)
{
m_controller = m_objMan->CreateObject(Math::Vector(0.0f, 0.0f, 0.0f), 0.0f, OBJECT_CONTROLLER, 100.0f);
m_controller->SetMagnifyDamage(100.0f);