URL: <http://gna.org/patch/?4648>
Summary: Remove redundant dai_uclass_move_type() function Project: Freeciv Submitted by: persia Submitted on: Tue 08 Apr 2014 06:54:18 AM JST Category: ai Priority: 3 - Low Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: _______________________________________________________ Details: The implementation of dai_uclass_move_type() is identical to the implementation of uclass_move_type(), and in some functions, both are used to locally acquire uclass->move_type. Since this is used widely in the code, rather than just the AI, and since in the AI, developers are not taking care to separate usage, it seems better to have a single implementation that is used everywhere. The attached patch achieves that. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Tue 08 Apr 2014 06:54:18 AM JST Name: remove-redundant-dai_uclass_move_type.patch Size: 4kB By: persia <http://gna.org/patch/download.php?file_id=20496> _______________________________________________________ Reply to this item at: <http://gna.org/patch/?4648> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev