Author: cazfi
Date: Thu Aug  6 20:46:25 2015
New Revision: 29366

URL: http://svn.gna.org/viewcvs/freeciv?rev=29366&view=rev
Log:
Fixed double-negation of speed increase value provided by the road to 
single-negation
when autosettlers are considering removal of that road.

See bug #23746

Modified:
    trunk/server/advisors/autosettlers.c

Modified: trunk/server/advisors/autosettlers.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/advisors/autosettlers.c?rev=29366&r1=29365&r2=29366&view=diff
==============================================================================
--- trunk/server/advisors/autosettlers.c        (original)
+++ trunk/server/advisors/autosettlers.c        Thu Aug  6 20:46:25 2015
@@ -618,9 +618,6 @@
 
                 extra = adv_settlers_road_bonus(ptile, proad) * mc_multiplier 
/ mc_divisor;
 
-                if (removing) {
-                  extra = -extra;
-                }
               } else {
                 extra = 0;
               }


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

Reply via email to