[Freeciv-Dev] Re: UnitType check patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Thu, 21 Mar 2002, Vasco Alexandre Da Silva Costa wrote:
> The AI considers building certain units using best_role_unit() calls. The
> problem is, it doesn't check if unit with these roles actually are
> available for building with the current units.ruleset.
> This caused problems on some modpacks with didn't have units with
> F_SETTLERS and F_CITIES for example.
> The attached patch fixes this. Since i don't know the AI code very well,
> someone which knows it better than me should check it for bugs.
This patch looks all good to me.
"While we're all in favor of Arafat doing more to suppress violence in
the Middle East, we fear that he doesn't have all that much influence on
the Israeli government. " --Sam Smith