[colobot] 84/100: Don't limit types of objects visible on minimap with fixed image

Didier Raboud odyx at moszumanska.debian.org
Thu Jun 1 18:10:23 UTC 2017


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch debian/master
in repository colobot.

commit 004106eb19a835e5e5aeb88fb6c0f3f58265fad1
Author: krzys-h <krzys_h at interia.pl>
Date:   Tue May 23 20:47:03 2017 +0200

    Don't limit types of objects visible on minimap with fixed image
---
 src/ui/controls/map.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ui/controls/map.cpp b/src/ui/controls/map.cpp
index 9bc35b9..e106209 100644
--- a/src/ui/controls/map.cpp
+++ b/src/ui/controls/map.cpp
@@ -1281,7 +1281,7 @@ void CMap::UpdateObject(CObject* pObj)
 
     if ( color == MAPCOLOR_NULL )  return;
 
-    if (!m_fixImage.empty() && !m_bDebug)  // map with still image?
+    /*if (!m_fixImage.empty() && !m_bDebug)  // map with still image?
     {
         if ( (type == OBJECT_TEEN28 ||
               type == OBJECT_TEEN34 ) &&
@@ -1290,7 +1290,7 @@ void CMap::UpdateObject(CObject* pObj)
         if ( type != OBJECT_TEEN28 &&
              type != OBJECT_TEEN34 &&
              color != MAPCOLOR_MOVE )  return;
-    }
+    }*/
 
     if ( pObj->Implements(ObjectInterfaceType::Controllable) && dynamic_cast<CControllableObject*>(pObj)->GetSelect() )
     {

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