Author: sveinung Date: Tue Aug 16 04:33:34 2016 New Revision: 33604 URL: http://svn.gna.org/viewcvs/freeciv?rev=33604&view=rev Log: Stop ignoring ignore_dist for paradrop.
See bug #24974 Modified: trunk/common/actions.c Modified: trunk/common/actions.c URL: http://svn.gna.org/viewcvs/freeciv/trunk/common/actions.c?rev=33604&r1=33603&r2=33604&view=diff ============================================================================== --- trunk/common/actions.c (original) +++ trunk/common/actions.c Tue Aug 16 04:33:34 2016 @@ -1605,8 +1605,9 @@ /* Reason: Keep paratroopers_range working. */ /* Info leak: The player knows the location of the actor and of the * target tile. */ - if (unit_type_get(actor_unit)->paratroopers_range - < real_map_distance(actor_tile, target_tile)) { + if (!ignore_dist + && (unit_type_get(actor_unit)->paratroopers_range + < real_map_distance(actor_tile, target_tile))) { return TRI_NO; } _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits