Changeset - r15599:27f26f9f8f91
[Not reviewed]
master
0 1 0
yexo - 14 years ago 2010-07-31 22:46:29
yexo@openttd.org
(svn r20272) -Doc: [NoAI] document return value of AIGroup::SetAutoReplace
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/ai/api/ai_group.hpp
Show inline comments
 
@@ -150,6 +150,7 @@ public:
 
	 * @param engine_id_new The engine id to replace with.
 
	 * @pre IsValidGroup(group_id) || group_id == GROUP_DEFAULT || group_id == GROUP_ALL.
 
	 * @pre AIEngine.IsBuildable(engine_id_new).
 
	 * @return True if and if the replacing was successfully started.
 
	 * @note To stop autoreplacing engine_id_old, call StopAutoReplace(group_id, engine_id_old).
 
	 */
 
	static bool SetAutoReplace(GroupID group_id, EngineID engine_id_old, EngineID engine_id_new);
0 comments (0 inline, 0 general)