[colobot] 204/390: Fixed saving aParamString in CAutoEgg

Didier Raboud odyx at moszumanska.debian.org
Fri Jun 12 14:21:46 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 5cd45fbe176cfc798ee91017ee67bb16124fefa0
Author: krzys-h <krzys_h at interia.pl>
Date:   Mon Nov 10 22:45:06 2014 +0100

    Fixed saving aParamString in CAutoEgg
---
 src/object/auto/autoegg.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/object/auto/autoegg.cpp b/src/object/auto/autoegg.cpp
index 2a2af34..0961017 100644
--- a/src/object/auto/autoegg.cpp
+++ b/src/object/auto/autoegg.cpp
@@ -324,7 +324,7 @@ bool CAutoEgg::Write(CLevelParserLine* line)
     line->AddParam("aSpeed", new CLevelParserParam(m_speed));
     line->AddParam("aParamType", new CLevelParserParam(m_type));
     line->AddParam("aParamValue1", new CLevelParserParam(m_value));
-    line->AddParam("aParamString", new CLevelParserParam(m_string));
+    line->AddParam("aParamString", new CLevelParserParam(std::string(m_string)));
 
     return true;
 }

-- 
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