[colobot] 68/390: Fixed TerrainLevel bug

Didier Raboud odyx at moszumanska.debian.org
Fri Jun 12 14:21:29 UTC 2015


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch upstream/latest
in repository colobot.

commit 32504be8a95e09736a84bdacd873d48fa971c055
Author: krzys-h <krzys_h at interia.pl>
Date:   Sat Sep 27 17:46:52 2014 +0200

    Fixed TerrainLevel bug
---
 src/object/robotmain.cpp | 1 +
 1 file changed, 1 insertion(+)

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,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/colobot.git



More information about the Pkg-games-commits mailing list