Decrease radius of squashing items.

1008-fix
DavivaD 2017-07-24 23:20:21 +02:00
parent b5e0f9966f
commit a4482f1a7c
1 changed files with 3 additions and 3 deletions

View File

@ -363,7 +363,7 @@ bool CTaskTerraform::Terraform()
type = pObj->GetType(); type = pObj->GetType();
if ( type == OBJECT_NULL ) continue; if ( type == OBJECT_NULL ) continue;
if ( type == OBJECT_TEEN34 || if ( type == OBJECT_TEEN34 ||
type == OBJECT_POWER || type == OBJECT_POWER ||
type == OBJECT_ATOMIC || type == OBJECT_ATOMIC ||
type == OBJECT_STONE || type == OBJECT_STONE ||
@ -387,8 +387,8 @@ bool CTaskTerraform::Terraform()
type == OBJECT_RUINradar ) // small/transportable objects? type == OBJECT_RUINradar ) // small/transportable objects?
{ {
dist = Math::Distance(m_terraPos, pObj->GetPosition()); dist = Math::Distance(m_terraPos, pObj->GetPosition());
if ( dist > 20.0f ) continue; if ( dist > 5.0f ) continue;
if (type == OBJECT_BULLET || if (type == OBJECT_BULLET ||
type == OBJECT_NEST ) type == OBJECT_NEST )
{ {