Reset recalc count on /debug city

Per Inge Mathisen <per-0/[email protected]>
Newsgroups gmane.games.freeciv.ai
Message-ID <[email protected]>
Index: server/stdinhand.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/stdinhand.c,v
retrieving revision 1.348
diff -u -r1.348 stdinhand.c
--- server/stdinhand.c  14 Sep 2004 19:26:23 -0000      1.348
+++ server/stdinhand.c  15 Sep 2004 09:18:06 -0000
@@ -2171,6 +2171,7 @@
     } else {
       pcity->debug = TRUE;
       CITY_LOG(LOG_NORMAL, pcity, "debugged");
+      pcity->ai.next_recalc = 0; /* force recalc of city next turn */
     }
   } else if (strcmp(arg[0], "units") == 0) {
     int x, y;

So that we can see what the AI is thinking without waiting several turns
to get the output. Committed.

  - Per
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.