Follow-up Comment #10, bug #14037 (project freeciv): I updated some low level functions for this patch. Please apply the following two patches:
https://gna.org/patch/index.php?1253 https://gna.org/patch/index.php?1254 > transfer_unit() should: > - If unit can still exist in the tile, or is in transport, it is not moved > - If unit would die in current tile and it can move to adjacent tile where it can exist, move it there (consistent behavior to terrain changes under units) > - If unit would die and cannot move to adjacent tile, kill it. If it was GameLoss unit, player loses > > But the question: Do we already know if unit can exist at the tile? City, we are removing, may still exist when transfer_unit() is called, causing can_exist_to_tile() to always return TRUE. This should be taken care of using the two patches mentioned above (file #6482) _______________________________________________________ Additional Item Attachment: File name: 0003-rework-changing-of-homecity-rehome-of-units-and-ci.patch Size:34 KB _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?14037> _______________________________________________ Nachricht geschickt von/durch Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list [email protected] https://mail.gna.org/listinfo/freeciv-dev
