URL: <http://gna.org/bugs/?21999>
Summary: adv_data_city_impr_calc() fails to consider present==FALSE Project: Freeciv Submitted by: persia Submitted on: Thu 01 May 2014 04:15:16 PM JST Category: ai Severity: 3 - Normal Priority: 5 - Normal Status: Ready For Test Assigned to: persia Originator Email: Open/Closed: Open Release: trunk Discussion Lock: Any Operating System: None Planned Release: 2.6.0 _______________________________________________________ Details: The attached patch only confirms that present==TRUE before doing things. As with nearly every other requirement_list_iterate() loop, there remain issues handling cases where there is not an explicit positive requirement, better handled with solutions like that of patch #4558, but these would benefit from being postponed until effects uses requirement vectors. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Thu 01 May 2014 04:15:16 PM JST Name: consider-present-FALSE-for-improvement-cache.patch Size: 2kB By: persia <http://gna.org/bugs/download.php?file_id=20620> _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?21999> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev