<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40214 >

2008/4/27 Marko Lindqvist:
>  Borders seem to switch between two states each turn:
>  1) just city center tiles + one separate tile
>  2) a bit wider borders

 Fix to "borders claiming themselves out of existence". With this
patch borders are stable, but still far from correct.


 - ML

diff -Nurd -X.diff_ignore freeciv/server/maphand.c freeciv/server/maphand.c
--- freeciv/server/maphand.c    2008-06-28 20:49:38.000000000 +0300
+++ freeciv/server/maphand.c    2008-07-02 00:38:52.000000000 +0300
@@ -1725,7 +1725,7 @@
       continue;
     }
 
-    if (NULL != downer) {
+    if (NULL != downer && downer != powner) {
       struct vision_site *dsite = map_get_player_site(dtile, downer);
       int r = sq_map_distance(dsite->location, dtile);
 
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to