Actions
Bug #1768
opensavegame: In lack of orders, goto_tile nullified even if unit has ACTIVITY_GOTO
Start date:
11/24/2025
Due date:
% Done:
0%
Estimated time:
Description
Split from #1741 reported by David Fernandez, issue reproducible with the latter savegame attached there.
Even when goto_tile is first correctly loaded from the savegame, it might get nullified when loading orders if unit does not have any. This happens even if the unit has ACTIVITY_GOTO. Unit having ACTIVITY_GOTO without valid goto_tile is an illegal situation, leading to a crash later.
Files
Actions