Codefix: broken links and syntax issues in script API documentation

This commit is contained in:
frosch
2024-03-24 19:00:06 +01:00
committed by Peter Nelson
parent 64e1f1d4d9
commit e436e2ef40
12 changed files with 54 additions and 34 deletions

View File

@@ -52,7 +52,7 @@ public:
* Check whether a company mode is valid. In other words, are commands
* being executed under some company and does the company still exist?
* @return true When a company mode is valid.
* @post !ScriptCompanyMode::IsDeity().
* @post If IsValid() is true, then IsDeity() is false.
*/
static bool IsValid();
@@ -60,7 +60,7 @@ public:
* Check whether the company mode is not active, i.e. whether we are a deity.
* In other words, are commands are not being executed under some company.
* @return true When we are a deity, i.e. company mode is not active.
* @post !ScriptCompanyMode::IsValid().
* @post if IsDeity() is true, then IsValid() is false.
*/
static bool IsDeity();
};