URL:
<http://gna.org/bugs/?13742>
Summary: pf_danger_map finishes on infinitate loop
Project: Freeciv
Submitted by: pepeto
Submitted on: Monday 06/22/2009 at 12:17
Category: client
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release:
Operating System: None
_______________________________________________________
Details:
When you issue a danger goto via the client (pf_danger_map), it usually
finishes on inifinate loop if your unit start on a "dangerous" tile.
The problem is that I changed the code to that the start tile can be also
considered as dangerous, but the function pf_danger_map_get_path never
returned a valid path to reach the start tile (a path of length 0) that the
client requiers to work proprely.
Patch attached for trunk/.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Monday 06/22/2009 at 12:17 Name: pf_danger.diff Size: 641B By:
pepeto
<http://gna.org/bugs/download.php?file_id=6020>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?13742>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev