Changeset - r26959:dbfa543fca8f
[Not reviewed]
master
0 1 0
glx22 - 16 months ago 2023-02-10 17:11:57
glx@openttd.org
Fix: remove ScriptController constructor from API documentation
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/script/api/script_controller.hpp
Show inline comments
 
@@ -48,6 +48,7 @@ class ScriptController {
 
	friend class ScriptInstance;
 

	
 
public:
 
#ifndef DOXYGEN_API
 
	/**
 
	 * Initializer of the ScriptController.
 
	 * @param company The company this Script is normally serving.
 
@@ -59,6 +60,7 @@ public:
 
	 */
 
	~ScriptController();
 

	
 
#else
 
	/**
 
	 * This function is called to start your script. Your script starts here. If you
 
	 *   return from this function, your script dies, so make sure that doesn't
 
@@ -67,7 +69,6 @@ public:
 
	 */
 
	void Start();
 

	
 
#ifdef DOXYGEN_API
 
	/**
 
	 * Save the state of the script.
 
	 *
0 comments (0 inline, 0 general)