CivOne icon indicating copy to clipboard operation
CivOne copied to clipboard

AI Movement infinite loop

Open fire-eggs opened this issue 5 years ago • 2 comments

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.

fire-eggs avatar Aug 01 '19 18:08 fire-eggs

TODO: scan of units should examine any one unit only once; not driven by 'MovesLeft'?

fire-eggs avatar Aug 01 '19 18:08 fire-eggs

TODO: helpful for logging / diagnostics if each player's unit had a unique ID

fire-eggs avatar Aug 01 '19 18:08 fire-eggs