Index: ai/ailog.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/ai/ailog.c,v retrieving revision 1.14 diff -u -r1.14 ailog.c --- ai/ailog.c 11 Jun 2004 13:58:56 -0000 1.14 +++ ai/ailog.c 14 Jun 2004 21:54:34 -0000 @@ -123,6 +123,7 @@ va_list ap; int minlevel = MIN(LOGLEVEL_UNIT, level); int gx, gy; + bool messwin = FALSE; /* output to message window */ if (punit->debug) { minlevel = LOG_NORMAL; @@ -133,6 +134,7 @@ if (pcity && pcity->debug) { minlevel = LOG_NORMAL; + messwin = TRUE; } } if (minlevel > fc_log_level) { @@ -158,7 +160,7 @@ va_end(ap); cat_snprintf(buffer, sizeof(buffer), buffer2); - if (punit->debug) { + if (punit->debug || messwin) { notify_conn(&game.est_connections, buffer); } freelog(minlevel, buffer);