[colobot] 272/377: Fixed level scale unit not being reset, closes #666
Didier Raboud
odyx at moszumanska.debian.org
Wed Mar 30 13:34:26 UTC 2016
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 <krzys_h at 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
More information about the Pkg-games-commits
mailing list