Summary: Boats can be left landlocked in cities by terrain
transformation => assertion failures
Submitted by: jtn
Submitted on: Wed Sep 7 00:15:03 2011
Severity: 3 - Normal
Priority: 5 - Normal
Status: In Progress
Assigned to: jtn
Discussion Lock: Any
Operating System: Any
Planned Release: 2.2.8,2.3.1,2.4.0
Spotted during bug #16383:
If a city's last adjacent water tile is transformed to land (by engineers),
and the city has a boat in it, the boat remains, even though
can_exist_at_tile() returns FALSE for it. This causes various assertion
failures each turn.
Looking at the code, I think the same can happen from climate change.
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list