[colobot] 222/390: Fixed reading cmdline=, closes #388
Didier Raboud
odyx at moszumanska.debian.org
Fri Jun 12 14:21:48 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 e0448825a84ae7648cc2866b7ca9cb15ff966323
Author: krzys-h <krzys_h at interia.pl>
Date: Wed Nov 12 17:01:31 2014 +0100
Fixed reading cmdline=, closes #388
---
src/object/object.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/object/object.cpp b/src/object/object.cpp
index 6ee0924..7d4c92d 100644
--- a/src/object/object.cpp
+++ b/src/object/object.cpp
@@ -1183,6 +1183,7 @@ bool CObject::Read(CLevelParserLine* line)
for(auto& p : line->GetParam("cmdline")->AsArray()) {
if(i >= OBJECTMAXCMDLINE) break;
SetCmdLine(i, p->AsFloat());
+ i++;
}
}
--
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