Author: cazfi
Date: Thu Aug  6 20:46:31 2015
New Revision: 29367

URL: http://svn.gna.org/viewcvs/freeciv?rev=29367&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:
    branches/S2_6/server/advisors/autosettlers.c

Modified: branches/S2_6/server/advisors/autosettlers.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/advisors/autosettlers.c?rev=29367&r1=29366&r2=29367&view=diff
==============================================================================
--- branches/S2_6/server/advisors/autosettlers.c        (original)
+++ branches/S2_6/server/advisors/autosettlers.c        Thu Aug  6 20:46:31 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