Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2005:
[Freeciv-Dev] Re: (PR#12703) bug: harbour not giving food?
Home

[Freeciv-Dev] Re: (PR#12703) bug: harbour not giving food?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#12703) bug: harbour not giving food?
From: "Benoit Hudson" <bh@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 2 Apr 2005 17:45:06 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12703 >

On Fri, Apr 01, 2005 at 08:26:58PM -0800, Benoit Hudson wrote:
> 
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=12703 >
> 
> Look at Brno; it has a harbour, but the ocean tiles are still at 1/0/3
> and 3/0/3 for fish.

The bug:
- effect_harbour has a local requirement that the terrain be ocean
- get_city_tile_bonus checks with a TARGET_CITY
- is_target_possible notices we're checking a requirement that is local
  on a target that is city, says it's not possible.

I'm not sure what the fix is -- I don't really understand the semantics
of is_target_possible.

        -- Benoît





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