Author: cazfi
Date: Tue Aug  4 20:28:35 2015
New Revision: 29331

URL: http://svn.gna.org/viewcvs/freeciv?rev=29331&view=rev
Log:
Do not consider agents that have never even got their first task busy.

See bug #23738

Modified:
    branches/S2_6/client/agents/agents.c

Modified: branches/S2_6/client/agents/agents.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/agents/agents.c?rev=29331&r1=29330&r2=29331&view=diff
==============================================================================
--- branches/S2_6/client/agents/agents.c        (original)
+++ branches/S2_6/client/agents/agents.c        Tue Aug  4 20:28:35 2015
@@ -800,7 +800,11 @@
 {
   int i;
 
-  if (!initialized || call_list_size(agents.calls) > 0 || frozen_level > 0
+  if (!initialized) {
+    return FALSE;
+  }
+
+  if (call_list_size(agents.calls) > 0 || frozen_level > 0
       || currently_running) {
     return TRUE;
   }


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to