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!

(file #14160)
    _______________________________________________________

Additional Item Attachment:

File name: 0029-add-check-to-tile_transform.patch Size:1 KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?18549>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to