From 1361473358e35476082d297223411ad7e9ade4dd Mon Sep 17 00:00:00 2001 From: krzys-h Date: Wed, 8 Jul 2015 20:13:09 +0200 Subject: [PATCH] Renamed Mission -> Level, MissionController -> LevelController As suggested by @CoLoRaptor --- src/object/robotmain.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/object/robotmain.cpp b/src/object/robotmain.cpp index 829dd0a8..827cd188 100644 --- a/src/object/robotmain.cpp +++ b/src/object/robotmain.cpp @@ -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);