summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/object/robotmain.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/object/robotmain.cpp b/src/object/robotmain.cpp
index 8496d7d..5499cc9 100644
--- a/src/object/robotmain.cpp
+++ b/src/object/robotmain.cpp
@@ -4367,6 +4367,7 @@ void CRobotMain::CreateScene(bool soluce, bool fixScene, bool resetObject)
i++;
if(i >= id_array.size()) break;
}
+ id[i] = 0;
}
m_terrain->GenerateMaterials(id,