Complete.Org: Mailing Lists: Archives: freeciv-ai: January 2003:
[freeciv-ai] Kill_something_with does unnecessary calculation.
Home

[freeciv-ai] Kill_something_with does unnecessary calculation.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Kill_something_with does unnecessary calculation.
From: Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxx>
Date: Thu, 2 Jan 2003 12:58:44 +0000

Now that many bug-fixes were ported from k_s_w to f_s_t_k and back, the
difference between the claculation done in the two functions is very small.  The
attached patch removed the remaining difference (buggy in part) and highlights
that the calculation of want in k_s_w is not needed.

This patch is for information only.  I will supply a separate patch removing the
unnecessary code form k_s_w and possibly merging it with process_attacker_want.

Best wishes,
G.

Attachment: fstk_want.diff
Description: Text document


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