URL:
<http://gna.org/bugs/?20472>
Summary: [River|Road] move_mode "Relaxed" assumes river/road
on adjacent tile
Project: Freeciv
Submitted by: cazfi
Submitted on: Fri 01 Feb 2013 06:12:04 PM EET
Category: general
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: None
Planned Release:
_______________________________________________________
Details:
Noticed while porting river_move_mode as road.move_mode in patch #3637:
Relaxed mode let's one to easily move diagonally from river tile to river
tile, but with double move cost as if two cardinal moves were made. This
checks river from original and target tiles only. It's possible that there's
no connection between the two but they are two separate rivers, either their
starting points or turning away from each other. If the tile through which
unit is considered to move has no river, applying cost based on river cost
does not make sense.
patch #3637 makes road move_mode implementation identical to river_move_mode,
so similar bug makes it to road.move_mode too.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?20472>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev