Update of bug #17257 (project freeciv):

         Planned Release:             2.3.1,2.4.0 => 2.3.0,2.4.0            
                 Summary: test if the unit can survive on the new terrain for
global warming and nuclear winter => redo checks after a terrain change


Follow-up Comment #1:

version 2:

* remove the assert in tile.c:tile_changed_terrain(). The code assumes, that
the units are checked _after_ this function has been called (and the terrain
was changed).
* add a new sanity check function for a tile (especially check the units)
* change maphand.c:bounce_units_on_terrain_change() in a non-static function
which is called directly after a terrain change
* the new version does _not_ changes any strings. Thus it can be applied to
2.3.0 as it fixes possible asserts after a terrain change.

(file #11500)

Additional Item Attachment:

File name:
Size:13 KB


Reply to this item at:


  Nachricht geschickt von/durch Gna!

Freeciv-dev mailing list

Reply via email to