CivOne
CivOne copied to clipboard
AI Movement infinite loop
Sometimes gets stuck because try to move unit, but not actually move unit. Scan of units then finds it again, and tries to move it again.
Hack fix made. Needs testing.
TODO: scan of units should examine any one unit only once; not driven by 'MovesLeft'?
TODO: helpful for logging / diagnostics if each player's unit had a unique ID