Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2004:
[Freeciv-Dev] Re: (PR#10177) Workers has activity, which it can't contin
Home

[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]
Subject: [Freeciv-Dev] Re: (PR#10177) Workers has activity, which it can't continue
From: "Marko Lindqvist" <marko.lindqvist@xxxxxxxxxxx>
Date: Mon, 15 Nov 2004 17:36:02 -0800
Reply-to: rt@xxxxxxxxxxx

<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

[Prev in Thread] Current Thread [Next in Thread]