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

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:


  Nachricht geschickt von/durch Gna!

Freeciv-dev mailing list

Reply via email to