summaryrefslogtreecommitdiff
path: root/src/command_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/command_type.h')
-rw-r--r--src/command_type.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/command_type.h b/src/command_type.h
index fb71eac27..37b52a94c 100644
--- a/src/command_type.h
+++ b/src/command_type.h
@@ -91,6 +91,7 @@ public:
/**
* Sets the global error message *if* this class has one.
+ * @see _error_message
*/
FORCEINLINE void SetGlobalErrorMessage() const
{
@@ -99,8 +100,8 @@ public:
}
/**
- * Makes this CommandCost behave like an error command.
- * @param mesasge the error message.
+ * Makes this #CommandCost behave like an error command.
+ * @param message The error message.
*/
void MakeError(StringID message)
{