<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40236 >
2008/5/8 Madeline Book:
> The reqs in the building rulesets use TerrainClass, so
> why is there VUT_TERRAIN here?
> Isn't it necessary to pass ptile into is_req_active (argument
> target_tile) so that the VUT_TERRAIN/VUT_TERRAINCLASS test
> can have a possibility of returning TRUE?
> Why is the last argument "TRUE" instead of an enum req_problem_type?
That's three bugs.
Notice also FIXME-comment in function header. I just wonder what
would the correct behavior for this function be?
(Selling buildings iff requirement of type TerrainClass with
REG_RANGE_ADJACENT or REG_RANGE_LOCAL is no longer true?)
Freeciv-dev mailing list