Follow-up Comment #15, bug #16800 (project freeciv):

my try on a fix; I did not test it extensively but it should prevent a city
bridge

changes 20101103:

* replace is_native_tile() by can_exist_at_tile() for point 4 of
can_unit_move_to_tile():

4) Unit can move to a tile where it can't survive on its own if there is city
or free transport capacity.

The asserts (file #11058, file #10546) should additionally be applied as they
can help to find such errors in the future.

(file #11077)
    _______________________________________________________

Additional Item Attachment:

File name: 20101103-02-trunk-check-if-unit-can-survive-before-moving-it.patch
Size:2 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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