mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-08-15 14:43:32 -07:00
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.
This commit is contained in:
parent
6ffc251114
commit
759159be56
1 changed files with 1 additions and 1 deletions
|
|
@ -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())
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue