diff --git a/src/object/object.cpp b/src/object/object.cpp index 44466012..6685dd3d 100644 --- a/src/object/object.cpp +++ b/src/object/object.cpp @@ -114,7 +114,8 @@ std::vector CObject::GetAllCrashSpheres() bool CObject::CanCollideWith(CObject* other) { ObjectType otherType = other->GetType(); - if (m_type == OBJECT_WORM) return otherType == OBJECT_WORM; + if (m_type == OBJECT_WORM) return false; + if (otherType == OBJECT_WORM) return false; if (m_type == OBJECT_MOTHER) { if (otherType == OBJECT_ANT) return false;