diff options
author | krzys-h <krzys_h@interia.pl> | 2014-09-27 17:16:58 +0200 |
---|---|---|
committer | krzys-h <krzys_h@interia.pl> | 2014-09-27 17:16:58 +0200 |
commit | 8fab044bcdafa0637c8a9b824f9ac81ea95db7ec (patch) | |
tree | 5a80337b49f2ab0c278e0f982f9f0802678bba99 /src/object | |
parent | c29ef4ec41cc062c4dbc14af8736c5e1c7c25f02 (diff) | |
download | colobot-8fab044bcdafa0637c8a9b824f9ac81ea95db7ec.tar.gz colobot-8fab044bcdafa0637c8a9b824f9ac81ea95db7ec.tar.bz2 colobot-8fab044bcdafa0637c8a9b824f9ac81ea95db7ec.zip |
Removed more unused variables
Diffstat (limited to 'src/object')
-rw-r--r-- | src/object/robotmain.cpp | 13 | ||||
-rw-r--r-- | src/object/robotmain.h | 7 |
2 files changed, 0 insertions, 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? |