From 8fab044bcdafa0637c8a9b824f9ac81ea95db7ec Mon Sep 17 00:00:00 2001 From: krzys-h Date: Sat, 27 Sep 2014 17:16:58 +0200 Subject: Removed more unused variables --- src/object/robotmain.cpp | 13 ------------- src/object/robotmain.h | 7 ------- 2 files changed, 20 deletions(-) diff --git a/src/object/robotmain.cpp b/src/object/robotmain.cpp index 0fa9b0d..8496d7d 100644 --- a/src/object/robotmain.cpp +++ b/src/object/robotmain.cpp @@ -658,12 +658,6 @@ CRobotMain::CRobotMain(CApplication* app, bool loadProfile) m_selectObject = 0; m_infoUsed = 0; - m_beginObject = false; - m_terrainGenerate = false; - m_terrainInit = false; - m_terrainInitTextures = false; - m_terrainCreate = false; - m_version = 1; m_controller = nullptr; m_retroStyle = false; @@ -3945,12 +3939,6 @@ void CRobotMain::CreateScene(bool soluce, bool fixScene, bool resetObject) strcpy(m_scriptName, scriptNameStr.c_str()); m_scriptFile[0] = 0; - m_beginObject = false; - m_terrainGenerate = false; - m_terrainInit = false; - m_terrainInitTextures = false; - m_terrainCreate = false; - m_version = 1; m_retroStyle = false; @@ -4336,7 +4324,6 @@ void CRobotMain::CreateScene(bool soluce, bool fixScene, bool resetObject) if (line->GetCommand() == "TerrainInit" && !resetObject) { m_terrain->InitMaterials(line->GetParam("id")->AsInt(1)); - m_terrainInit = true; continue; } diff --git a/src/object/robotmain.h b/src/object/robotmain.h index 466c47d..2c173fb 100644 --- a/src/object/robotmain.h +++ b/src/object/robotmain.h @@ -491,13 +491,6 @@ protected: CObject* m_controller; - // Level Checker flags - bool m_beginObject; - bool m_terrainGenerate; - bool m_terrainInitTextures; - bool m_terrainInit; - bool m_terrainCreate; - int m_version; // Mission file version bool m_retroStyle; // Retro bool m_immediatSatCom; // SatCom immediately? -- cgit v1.2.3-1-g7c22