Author: pepeto
Date: Fri Nov 28 09:12:41 2014
New Revision: 27143

URL: http://svn.gna.org/viewcvs/freeciv?rev=27143&view=rev
Log:
Make destroy_base() consider base_owner() instead of tile_owner() for cleanup.

See gna bug #22850

Modified:
    branches/S2_5/server/maphand.c

Modified: branches/S2_5/server/maphand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/server/maphand.c?rev=27143&r1=27142&r2=27143&view=diff
==============================================================================
--- branches/S2_5/server/maphand.c      (original)
+++ branches/S2_5/server/maphand.c      Fri Nov 28 09:12:41 2014
@@ -2258,7 +2258,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