[Freeciv-Dev] [bug #22053] Impossible to attack cities with pathfinding

2014-05-22 Thread pepeto
Update of bug #22053 (project freeciv): Status: Ready For Test => Fixed Open/Closed:Open => Closed ___ Reply to this item at:

[Freeciv-Dev] [bug #22053] Impossible to attack cities with pathfinding

2014-05-20 Thread pepeto
Update of bug #22053 (project freeciv): Status: Need Info => Ready For Test ___ Follow-up Comment #4: Actually fogged tiles cannot be well handled, because they could be units on the paths, or maybe

[Freeciv-Dev] [bug #22053] Impossible to attack cities with pathfinding

2014-05-20 Thread Emmet Hikory
Follow-up Comment #3, bug #22053 (project freeciv): Ah, right, and the target city might be fogged when the path is created. Apologies for the confusion: the original patch is correct. On reflection, I entirely failed to consider fogging for patch #3901: we may discover other oddities as a resul

[Freeciv-Dev] [bug #22053] Impossible to attack cities with pathfinding

2014-05-20 Thread pepeto
Update of bug #22053 (project freeciv): Status: Ready For Test => Need Info ___ Follow-up Comment #2: 0 If I look at former versions of Freeciv, we still allowed units which cannot occupy cities to

[Freeciv-Dev] [bug #22053] Impossible to attack cities with pathfinding

2014-05-19 Thread Emmet Hikory
Follow-up Comment #1, bug #22053 (project freeciv): Only units with UCF_CAN_OCCUPY should be permitted to attack cities that do not contain units, so conditional becomes something like the following (untested): if ((is_non_allied_unit_tile(target, param->owner) || (is_non_allied_city_ti

[Freeciv-Dev] [bug #22053] Impossible to attack cities with pathfinding

2014-05-18 Thread pepeto
URL: Summary: Impossible to attack cities with pathfinding Project: Freeciv Submitted by: pepeto Submitted on: Sun 18 May 2014 11:06:40 PM CEST Category: ai Severity: 3 - Normal