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

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

commit a4482f1a7cb493646e2ba78def500a42156fd3a1
Author: DavivaD <davivad...@gmail.com>
Date:   Mon Jul 24 23:20:21 2017 +0200

    Decrease radius of squashing items.
---
 src/object/task/taskterraform.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/object/task/taskterraform.cpp 
b/src/object/task/taskterraform.cpp
index 06dc72c..380d26f 100644
--- a/src/object/task/taskterraform.cpp
+++ b/src/object/task/taskterraform.cpp
@@ -363,7 +363,7 @@ bool CTaskTerraform::Terraform()
         type = pObj->GetType();
         if ( type == OBJECT_NULL )  continue;
 
-        if ( type == OBJECT_TEEN34       || 
+        if ( type == OBJECT_TEEN34       ||
              type == OBJECT_POWER        ||
              type == OBJECT_ATOMIC       ||
              type == OBJECT_STONE        ||
@@ -387,8 +387,8 @@ bool CTaskTerraform::Terraform()
              type == OBJECT_RUINradar )  // small/transportable objects?
         {
             dist = Math::Distance(m_terraPos, pObj->GetPosition());
-            if ( dist > 20.0f )  continue;
-            
+            if ( dist > 5.0f )  continue;
+
             if (type == OBJECT_BULLET ||
                 type == OBJECT_NEST )
             {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/colobot.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to