[Freeciv-Dev] Re: (PR#10177) Workers has activity, which it can't contin
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10177 >
Activity mentioned in that error message always seems to be
"Irrigation". This is reproducible from stable branch with attached
autogame.
I put breakpoint to the line with that freelog() -call.
(gdb) print punit->type
$13 = 2
(gdb) print game->year
$14 = 1460
(gdb) print tile_has_special(punit->tile, S_IRRIGATION)
$15 = false
(gdb) print punit->tile->terrain
$18 = 8
(gdb) print is_water_adjacent_to_tile(punit->tile)
$19 = false
(gdb) print get_tile_type(punit->tile->terrain)->irrigation_result
$20 = 8
So we are trying to irrigate tile that is not adjacent to water.
- Caz
set savename single
set timeout -1
create Caz
set saveturns 0
set endyear 2800
set landmass 25
set temperature 70
set steepness 40
set wetness 70
set gameseed 1100480005
set mapseed 1292342219
start
- [Freeciv-Dev] Re: (PR#10177) Workers has activity, which it can't continue,
Marko Lindqvist <=
|
|