URL: <http://gna.org/patch/?6467>
Summary: Make target/actor exists sanity checks asserts Project: Freeciv Submitted by: sveinung Submitted on: Wed 21 Oct 2015 11:07:22 PM UTC Category: general Priority: 5 - Normal Status: In Progress Privacy: Public Assigned to: sveinung Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: 3.0.0, 2.6.0 _______________________________________________________ Details: The checks that actor and target survived the Lua in the action doer functions are redundant because of the checks in unit_perform_action(). Change them into asserts. _______________________________________________________ Reply to this item at: <http://gna.org/patch/?6467> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev