Files
0ad/source
Fabio Pedretti 811ef65126 Fix: Correct control group iteration in ResolveFoundationCollisions
In `CCmpObstruction::ResolveFoundationCollisions`, the nested loop
intended to assign a persistent control group to colliding normal
entities was incorrectly iterating over `normalEnts` instead of
`persistentEnts`.

This caused the function to attempt to clobber default control groups
with other non-persistent groups, completely bypassing the intended
`ControlPersist` logic.

This patch fixes the inner loop to correctly iterate over
`persistentEnts`, ensuring foundations properly inherit persistent
control groups.

Fixes: 9ae084519f
2026-08-16 13:30:42 +02:00
..
2026-08-06 18:03:05 +02:00
2026-08-06 18:03:05 +02:00
2026-08-06 18:03:05 +02:00
2026-08-06 18:03:05 +02:00
2026-08-06 18:03:05 +02:00
2026-07-29 01:29:11 +02:00
2026-08-10 09:00:07 +02:00