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

odyx pushed a commit to branch debian/master
in repository colobot.

commit 8ce5c3ab4c7db0cbe41a69bd14b55ec9ae254b0d
Author: krzys-h <krzy...@interia.pl>
Date:   Sat Feb 13 20:46:03 2016 +0100

    Fixed level scale unit not being reset, closes #666
---
 src/level/robotmain.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/level/robotmain.cpp b/src/level/robotmain.cpp
index 1f514ca..259ac61 100644
--- a/src/level/robotmain.cpp
+++ b/src/level/robotmain.cpp
@@ -2769,6 +2769,8 @@ void CRobotMain::CreateScene(bool soluce, bool fixScene, 
bool resetObject)
         m_researchDone[0] = 0;
         m_researchEnable = 0;
 
+        g_unit = UNIT;
+
         FlushDisplayInfo();
         m_terrain->FlushMaterials();
         m_audioTrack = "";

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

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to