diff options
Diffstat (limited to 'src/command_func.h')
-rw-r--r-- | src/command_func.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/command_func.h b/src/command_func.h index 8bda62693..b7738f4ef 100644 --- a/src/command_func.h +++ b/src/command_func.h @@ -67,6 +67,10 @@ bool IsValidCommand(uint32 cmd); */ byte GetCommandFlags(uint32 cmd); /** + * Returns the name of a given command. + */ +const char *GetCommandName(uint32 cmd); +/** * Returns the current money available which can be used for a command. */ Money GetAvailableMoneyForCommand(); |