[colobot] 274/377: Fixed TitaniumOre and UraniumOre not being destroyable, closes #635

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 c93fa12552d226377d7dde6fcc84cc3a59262e6c
Author: krzys-h <krzys_h at interia.pl>
Date:   Sat Feb 13 21:15:15 2016 +0100

    Fixed TitaniumOre and UraniumOre not being destroyable, closes #635
---
 src/object/old_object.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/object/old_object.cpp b/src/object/old_object.cpp
index dc685d4..55343e6 100644
--- a/src/object/old_object.cpp
+++ b/src/object/old_object.cpp
@@ -726,7 +726,9 @@ void COldObject::SetType(ObjectType type)
 
     // TODO: Hacking some more
     if ( m_type == OBJECT_MOBILEtg ||
+         m_type == OBJECT_STONE    ||
          m_type == OBJECT_METAL    ||
+         m_type == OBJECT_URANIUM  ||
          m_type == OBJECT_POWER    ||
          m_type == OBJECT_ATOMIC   ||
          m_type == OBJECT_TNT      ||

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