Summary: [River|Road] move_mode "Relaxed" assumes river/road
on adjacent tile
Submitted by: cazfi
Submitted on: Fri 01 Feb 2013 06:12:04 PM EET
Severity: 3 - Normal
Priority: 5 - Normal
Assigned to: None
Discussion Lock: Any
Operating System: None
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:
Message sent via/by Gna!
Freeciv-dev mailing list