URL: <http://gna.org/bugs/?20648>
Summary: Old road building activities considered real Project: Freeciv Submitted by: cazfi Submitted on: Tue 26 Mar 2013 09:02:43 AM EET Category: general Severity: 3 - Normal Priority: 5 - Normal Status: Ready For Test Assigned to: None Originator Email: Open/Closed: Open Release: Discussion Lock: Any Operating System: None Planned Release: 2.5.0 _______________________________________________________ Details: I got error message: "can_unit_do_activity_targeted_at() unknown activity 2" 2 is ACTIVITY_OLD_ROAD, and this was coming from ai settler (could probably happen with human player's autosettlers too, as that's the code that originally had assigned illegal activity) Root cause is that is_real_activity() returns TRUE for old road building activities, making autosettler to consider doing them. Fix attached. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Tue 26 Mar 2013 09:02:43 AM EET Name: RealRoadAct.patch Size: 852B By: cazfi <http://gna.org/bugs/download.php?file_id=17546> _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?20648> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev