Follow-up Comment #18, bug #18549 (project freeciv):
> However, this is the only difference I have noticed. Before
> applying the patch, the city tile couldn't be transformed to
> ocean, even by Engineers.
It should be the only difference. The assert happend due to a virtual tile
which did had the index (or coordinates) of the real tile with the city. Thus,
the assert got called on the check if the tile can be transformed ...
But this check is at the wrong place. The attached patch moves the check into
tile_set_terrain(). There, it is tested if ptile is a virtual one. It also
adds a comment explaining the assert test as this cost me lots of time!
Please test this patch!
Additional Item Attachment:
File name: 0029-add-check-to-tile_transform.patch Size:1 KB
Reply to this item at:
Nachricht geschickt von/durch Gna!
Freeciv-dev mailing list