Follow-up Comment #15, bug #18549 (project freeciv):
So its the test for the activity result (transform) on a virtual tile on
which a city is located. I think the solution would be to add a check in
tile_transform:
untested patch (check from tile_set_terrain()):
++
static void tile_transform(struct tile *ptile)
{
struct terrain *pterrain = tile_terrain(ptile);
if (pterrain->transform_result != T_NONE
&& (NULL != tile_city(ptile)
|| !terrain_has_flag(pterrain->transform_result, TER_NO_CITIES)) {
tile_change_terrain(ptile, pterrain->transform_result);
}
}
--
If something like this is applied, the check in tile_set_terrain() is moved
up the toolchain ...
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?18549>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev