[colobot] 268/377: Fixed ExchangePost info being loaded twice (closes #671)
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 463992b2c1ba39c9b04d777d2ae7951425400e82
Author: krzys-h <krzys_h at interia.pl>
Date: Sat Feb 13 19:54:56 2016 +0100
Fixed ExchangePost info being loaded twice (closes #671)
---
src/object/old_object.cpp | 7 -------
1 file changed, 7 deletions(-)
diff --git a/src/object/old_object.cpp b/src/object/old_object.cpp
index b488caa..dc685d4 100644
--- a/src/object/old_object.cpp
+++ b/src/object/old_object.cpp
@@ -1076,13 +1076,6 @@ void COldObject::Read(CLevelParserLine* line)
}
}
- if (m_type == OBJECT_INFO)
- {
- CExchangePost* exchangePost = dynamic_cast<CExchangePost*>(this);
- assert(exchangePost != nullptr);
- exchangePost->ReadInfo(line);
- }
-
// SetManual will affect bot speed
if (m_type == OBJECT_MOBILEdr)
{
--
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