From 759159be56d49bd8938d13360ac973a1e02d8428 Mon Sep 17 00:00:00 2001 From: stevenlau Date: Sat, 15 Aug 2026 23:39:34 +0800 Subject: [PATCH] Fix engine obstruction cluster position typo. Obstruction cluster are found in walls. Since position of walls would never change, that erroneous code path was probably never executed, hence it never caused any observable problems. Fixing this anyway in case it would be relevant in future. --- source/simulation2/components/CCmpObstruction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/simulation2/components/CCmpObstruction.cpp b/source/simulation2/components/CCmpObstruction.cpp index 20d52b314a..57b5535b64 100644 --- a/source/simulation2/components/CCmpObstruction.cpp +++ b/source/simulation2/components/CCmpObstruction.cpp @@ -367,7 +367,7 @@ public: m_Tag = cmpObstructionManager->AddUnitShape(GetEntityId(), data.x, data.z, m_Clearance, (flags_t)(m_Flags | (m_Moving ? ICmpObstructionManager::FLAG_MOVING : 0)), m_ControlGroup); else - AddClusterShapes(data.x, data.x, data.a); + AddClusterShapes(data.x, data.z, data.a); } else if (!data.inWorld && m_Tag.valid()) {