[freeciv-ai] Re: (PR#2477) Improved Auto-Explore
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
I found another mistake:
+ if (map_get_known(x, y, pplayer) && map_has_special(x, y, S_HUT)) {
+ /* we want to explore huts whenever we can. */
+ desirable += HUT_SCORE;
+ }
+
+ if (unknown <= 0) {
+ /* We make sure we'll uncover at least one unexplored tile. */
+ desirable = 0;
+ }
These should be transposed: if we can get a HUT, we don't care for
unknowns!
You don't have to resubmit the patch just because of this change. Wait
for a report from my anonymous reviewer ;)
After that I will just commit it.
G.
[freeciv-ai] Re: (PR#2477) Improved Auto-Explore,
Gregory Berkolaiko via RT <=
Message not available
[freeciv-ai] Re: (PR#2477) Improved Auto-Explore, Gregory Berkolaiko via RT, 2003/01/26
[freeciv-ai] Re: (PR#2477) Improved Auto-Explore, Gregory Berkolaiko via RT, 2003/01/28
[freeciv-ai] Re: (PR#2477) Improved Auto-Explore, Gregory Berkolaiko, 2003/01/29
[freeciv-ai] Re: (PR#2477) Improved Auto-Explore, Gregory Berkolaiko via RT, 2003/01/29
|
|