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 <krzy...@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

_______________________________________________
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