[colobot] 186/390: Fixed proxyDistance saving
Didier Raboud
odyx at moszumanska.debian.org
Fri Jun 12 14:21:43 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 c861e67cc09a394d72b76a14b63514d5bb3c8fae
Author: krzys-h <krzys_h at interia.pl>
Date: Mon Nov 10 17:50:50 2014 +0100
Fixed proxyDistance saving
---
src/object/object.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/object/object.cpp b/src/object/object.cpp
index c2c7f7b..6e386f3 100644
--- a/src/object/object.cpp
+++ b/src/object/object.cpp
@@ -1042,7 +1042,7 @@ bool CObject::Write(CLevelParserLine* line)
if ( GetProxyActivate() )
{
line->AddParam("proxyActivate", new CLevelParserParam(GetProxyActivate()));
- line->AddParam("proxyActivate", new CLevelParserParam(GetProxyDistance()/g_unit));
+ line->AddParam("proxyDistance", new CLevelParserParam(GetProxyDistance()/g_unit));
}
if ( GetMagnifyDamage() != 1.0f )
--
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