1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-01 10:59:12 +00:00

Fix: remove ScriptController constructor from API documentation

This commit is contained in:
glx22
2023-02-10 18:11:57 +01:00
committed by Loïc Guilloux
parent 67a4c5e0db
commit e06a666fa2

View File

@@ -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.
*