Author: pepeto
Date: Sun Nov  2 20:19:58 2014
New Revision: 26958

URL: http://svn.gna.org/viewcvs/freeciv?rev=26958&view=rev
Log:
Remove correctly the vision of a base after pillage.

See gna bug #22850

Modified:
    trunk/server/maphand.c

Modified: trunk/server/maphand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/maphand.c?rev=26958&r1=26957&r2=26958&view=diff
==============================================================================
--- trunk/server/maphand.c      (original)
+++ trunk/server/maphand.c      Sun Nov  2 20:19:58 2014
@@ -2204,7 +2204,7 @@
        * bases as well. */
       map_clear_border(ptile);
     } else {
-      struct player *owner = tile_owner(ptile);
+      struct player *owner = base_owner(ptile);
 
       if (NULL != owner
           && (0 <= pbase->vision_main_sq || 0 <= pbase->vision_invis_sq)) {


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to