Re: [Freeciv-Dev] (PR#10183) Moving loop
"Gregory Berkolaiko" <[email protected]>
| Newsgroups | gmane.games.freeciv.ai |
|---|---|
| Message-ID | <[email protected]> |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10183 > On Sat, 18 Sep 2004, Oursinou Desman wrote: > I had problem on some games with this sub-routine. I have logs and debug dumps if you need but I > hope my explainations will be enough. Your explanations are clear enough. I would be interested to see a savegame where this bug appears though. I see 2 ways to fix the potential loop. One is to save our number of turns as well as (x,y) and then quit if we happen to move on a rail-road. This is a bit brutal. A somewhat less brutal way is to have a depth-of-recursion argument to ai_manage_explorer G.