<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40521 >
Build city, go to worklist tab, check "show future targets", add something you can't build. Wait for the first (buildable) item to be built, or buy it. Watch the server spin forever in worklist_change_build_target. while(!success) { if (worklist_peek_ith(...)) /* FALSE, unbuildable item */ success = can_city_build_now(...) else /* when index is out of range, should probably be break/return */ success = FALSE; switch(target.kind) { /* find we can't build it, send various messages, maybe remove it, don't return or break */ } } $ svn info Path: . URL: svn://svn.gna.org/svn/freeciv/branches/S2_2 Repository Root: svn://svn.gna.org/svn/freeciv Repository UUID: a0f10bec-cc02-0410-94fc-a9cfff90b4cd Revision: 15242 _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev