Project

General

Profile

Actions

Bug #525

closed

CoastStrict units not handled correctly on an Ocean city removal

Added by Marko Lindqvist 8 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Category:
Server
Target version:
Start date:
05/02/2024
Due date:
% Done:

0%

Estimated time:

Description

remove_city() bounces units based on is_native_tile(). That's not enough for CoastStrict units; the tile might be native Ocean, but still not a coast.

Problems seen with alien ruleset Raft unit.


Files

Actions #1

Updated by Marko Lindqvist 8 months ago

Actions #2

Updated by Marko Lindqvist 8 months ago

- Previous version broke bouncing regular units - can't use can_exist_at_tile() as the city is still on the map, skewing the results

Actions #4

Updated by Marko Lindqvist 7 months ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF