Complete.Org: Mailing Lists: Archives: freeciv-ai: January 2003:
[freeciv-ai] Re: (PR#2477) Improved Auto-Explore

[freeciv-ai] Re: (PR#2477) Improved Auto-Explore

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: cameron@xxxxxxxxxx
Cc: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Re: (PR#2477) Improved Auto-Explore
From: "Gregory Berkolaiko via RT" <rt@xxxxxxxxxxxxxx>
Date: Wed, 8 Jan 2003 02:28:18 -0800
Reply-to: rt@xxxxxxxxxxxxxx

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 

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.


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