From 5c7aaf11badc8be299ca4fe3c1b988d49a237d74 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 11 Apr 2010 10:11:26 +0000 Subject: (svn r19602) -Codechange: add the name of the command to the desync logs --- src/command_func.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/command_func.h') 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 @@ -66,6 +66,10 @@ bool IsValidCommand(uint32 cmd); * Returns the flags from a given command. */ 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. */ -- cgit v1.2.3-54-g00ecf