Project

General

Profile

Actions

Bug #1768

open

savegame: In lack of orders, goto_tile nullified even if unit has ACTIVITY_GOTO

Added by Marko Lindqvist about 22 hours ago. Updated about 5 hours ago.

Status:
In Review
Priority:
Normal
Category:
Server
Target version:
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


Related issues 3 (2 open1 closed)

Related to Bug #1741: Server crash due to animal kingdom aiClosedMarko Lindqvist11/16/2025

Actions
Blocks Tasks #1696: Release 3.1.6NewMarko Lindqvist10/02/2025

Actions
Blocks Feature #1769: savegame: version-gate log message about ACTIVITY_GOTO vs goto_tile inconsistencyNew11/24/2025

Actions
Actions

Also available in: Atom PDF