[freeciv-ai] Re: (PR#11009) AI Hunts Own Units
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=11009 >
Jason Short wrote:
...
> Will you make a patch?
...
Here it is, for 2.0.0 beta.
--- vendor.freeciv.beta/ai/aihunt.c 2004-10-09 21:01:42.000000000 +0100
+++ freeciv.PR11009/ai/aihunt.c 2004-11-15 22:11:14.000000000 +0000
@@ -266,7 +266,8 @@
assert(pplayer->is_alive);
players_iterate(aplayer) {
- if (!aplayer->is_alive || !is_player_dangerous(pplayer, aplayer)) {
+ if (aplayer == pplayer || !aplayer->is_alive
+ || !is_player_dangerous(pplayer, aplayer)) {
continue;
}
unit_list_iterate(aplayer->units, target) {
- [freeciv-ai] Re: (PR#11009) AI Hunts Own Units,
Benedict Adamson <=
- [freeciv-ai] Re: (PR#11009) AI Hunts Own Units, Benedict Adamson, 2004/11/15
- [freeciv-ai] Re: (PR#11009) AI Hunts Own Units, Gregory Berkolaiko, 2004/11/15
- [freeciv-ai] Re: (PR#11009) AI Hunts Own Units, Benedict Adamson, 2004/11/16
- [freeciv-ai] Re: (PR#11009) AI Hunts Own Units, Benedict Adamson, 2004/11/16
- [freeciv-ai] Re: (PR#11009) AI Hunts Own Units, Jason Short, 2004/11/16
- [freeciv-ai] Re: (PR#11009) AI Hunts Own Units], Benedict Adamson, 2004/11/18
- [freeciv-ai] Re: (PR#11009) AI Hunts Own Units, Gregory Berkolaiko, 2004/11/18
- [freeciv-ai] (PR#11009) AI Hunts Own Units, Jason Short, 2004/11/18
- [freeciv-ai] Re: (PR#11009) AI Hunts Own Units, Benedict Adamson, 2004/11/19
- [freeciv-ai] (PR#11009) AI Hunts Own Units, Gregory Berkolaiko, 2004/11/18
|
|