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:
20101207.2-trunk-test-if-the-unit-can-survive-on-the-new-terrain-for-.patch
Size:13 KB
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?17257>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev