summaryrefslogtreecommitdiff
path: root/src/script/api/script_industrytype.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/api/script_industrytype.hpp')
-rw-r--r--src/script/api/script_industrytype.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/api/script_industrytype.hpp b/src/script/api/script_industrytype.hpp
index 9e205df96..1d642ac38 100644
--- a/src/script/api/script_industrytype.hpp
+++ b/src/script/api/script_industrytype.hpp
@@ -111,8 +111,8 @@ public:
* @param industry_type The type of the industry to build.
* @param tile The tile to build the industry on.
* @pre CanBuildIndustry(industry_type).
+ * @game @pre Valid ScriptCompanyMode active in scope.
* @return True if the industry was successfully build.
- * @api -game
*/
static bool BuildIndustry(IndustryType industry_type, TileIndex tile);
@@ -121,10 +121,10 @@ public:
* an industry on a random place on the map.
* @param industry_type The type of the industry.
* @pre CanProspectIndustry(industry_type).
+ * @game @pre Valid ScriptCompanyMode active in scope.
* @return True if no error occurred while trying to prospect.
* @note Even if true is returned there is no guarantee a new industry is build.
* @note If true is returned the money is paid, whether a new industry was build or not.
- * @api -game
*/
static bool ProspectIndustry(IndustryType industry_type);