Author: cazfi Date: Tue Aug 4 20:28:44 2015 New Revision: 29332 URL: http://svn.gna.org/viewcvs/freeciv?rev=29332&view=rev Log: Do not consider agents that have never even got their first task busy.
See bug #23738 Modified: branches/S2_5/client/agents/agents.c Modified: branches/S2_5/client/agents/agents.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/agents/agents.c?rev=29332&r1=29331&r2=29332&view=diff ============================================================================== --- branches/S2_5/client/agents/agents.c (original) +++ branches/S2_5/client/agents/agents.c Tue Aug 4 20:28:44 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