[Freeciv-Dev] (PR#4460) aiair bug fix
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] (PR#4460) aiair bug fix |
From: |
"Rafa³ Bursig" <bursig@xxxxxxxxx> |
Date: |
Sun, 29 Jun 2003 03:10:51 -0700 |
Reply-to: |
rt@xxxxxxxxxxxxxx |
Hi All
For me it is bug but I'm not AI expert.
Could someone check it and eventualy commit
Rafal
diff -u -r freeciv/ai/aiair.c fc/ai/aiair.c
--- freeciv/ai/aiair.c Tue May 13 16:22:59 2003
+++ fc/ai/aiair.c Sun Jun 29 11:08:11 2003
@@ -178,12 +178,12 @@
/* Let's find something to bomb */
iterate_outward(x, y, max_dist, x1, y1) {
- if ((ai_handicap(pplayer, H_MAP) && !map_get_known(x, y, pplayer))) {
+ if ((ai_handicap(pplayer, H_MAP) && !map_get_known(x1, y1, pplayer))) {
/* The target tile is unknown */
continue;
}
if (ai_handicap(pplayer, H_FOG)
- && !map_get_known_and_seen(x, y, pplayer)) {
+ && !map_get_known_and_seen(x1, y1, pplayer)) {
/* The tile is fogged */
continue;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#4460) aiair bug fix,
Rafa³ Bursig <=
|
|