Skip to content

Fix handling of stranded soldiers after successful sea attack - #1964

Open
Flamefire wants to merge 10 commits into
masterfrom
maroonedSoldierDeath
Open

Flamefire wants to merge 10 commits into
masterfrom
maroonedSoldierDeath

Conversation

@Flamefire

@Flamefire Flamefire commented Jul 26, 2026 •

Copy link
Copy Markdown
Member

Fix for #1963

It adds the missing abrogateWorkplace() and cancelAtShip() before starting to wander and tests for this and related behavior

This changes the coverage job which needs to be updated in the required CI checks:

- { compiler: gcc-10,   os: ubuntu-22.04, type: Debug }  # No coverage anymore
- { name: "Collect coverage", compiler: gcc-13,   os: ubuntu-24.04, type: Debug, coverage: true }  # New coverage job

@Flamefire
Flamefire force-pushed the maroonedSoldierDeath branch 2 times, most recently from 38bb0f1 to beb5b5a Compare July 28, 2026 10:53
@Flamefire
Flamefire force-pushed the maroonedSoldierDeath branch from beb5b5a to 316cbca Compare November 18, 2026 09:41
@Flamefire
Flamefire marked this pull request as ready for review November 18, 2026 18:34
@Flamefire
Flamefire force-pushed the maroonedSoldierDeath branch from 9a6a0f0 to 504a1a6 Compare November 18, 2026 21:26
The soldier notify their home building but do reset their reference
leading to it dangling.
Always use `AbrogateWorkplace` which is meant for this.
A boat carrier walking to a flag on a road that gets just destroyed
should start wandering from the flag directly instead of trying to find
another shore point which may not exist.
@Flamefire
Flamefire force-pushed the maroonedSoldierDeath branch 2 times, most recently from eb98ac7 to 1152deb Compare November 19, 2026 18:23
Avoid "inconsistent" warnings and fix unpectatly uncovered line
@Flamefire
Flamefire force-pushed the maroonedSoldierDeath branch 5 times, most recently from 032ba8c to ca10752 Compare November 21, 2026 13:15
@Flamefire
Flamefire force-pushed the maroonedSoldierDeath branch from ca10752 to d66ae79 Compare November 21, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant