URL: <http://gna.org/bugs/?23888>
Summary: explorer_goto() can mess goto_tile for AI task using it Project: Freeciv Submitted by: cazfi Submitted on: Sun 20 Sep 2015 01:19:53 PM EEST Category: None Severity: 3 - Normal Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Release: Discussion Lock: Any Operating System: None Planned Release: _______________________________________________________ Details: explorer_goto() is called based on unit ACTIVITY, and there's no direct linkage between ACTIVITY and AITASK. So it's possible (or at least not prevented by design. It might be hard to find a special case code path where this happens) that unit has a AITASK that requires goto_tile set correctly, but then unit does exploring and the goto_tile gets mangled. Proper fix is not as easy as restoring the old goto_tile after exploring. As the comment says, if exploring is going to continue next turn, we may want to send destination currently considered final to the client. _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?23888> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev