Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2002:
[Freeciv-Dev] Re: UnitType check patch
Home

[Freeciv-Dev] Re: UnitType check patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: UnitType check patch
From: "Per I. Mathisen" <Per.Inge.Mathisen@xxxxxxxxxxx>
Date: Sat, 30 Mar 2002 17:08:59 +0100 (MET)

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.

Yours,
Per

"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



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