Author: pepeto
Date: Mon Jan 26 11:36:23 2015
New Revision: 27851

URL: http://svn.gna.org/viewcvs/freeciv?rev=27851&view=rev
Log:
Fix a typo that was causing the buoys to give vision forever (uneless the user
saves and reloads the game) even if the base was removed.

See gna bug #20758

Modified:
    trunk/server/maphand.c

Modified: trunk/server/maphand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/maphand.c?rev=27851&r1=27850&r2=27851&view=diff
==============================================================================
--- trunk/server/maphand.c      (original)
+++ trunk/server/maphand.c      Mon Jan 26 11:36:23 2015
@@ -2170,7 +2170,7 @@
       /* Existing bases from old_owner -> pplayer */
       base_type_iterate(oldbase) {
         if (oldbase != pbase) {
-          map_claim_base(ptile, pbase, pplayer, old_owner);
+          map_claim_base(ptile, oldbase, pplayer, old_owner);
         }
       } base_type_iterate_end;
 


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

Reply via email to