From e170b1d83e0142fdcc4260a2f3d623324de1415f Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 7 Dec 2010 21:08:35 +0000 Subject: (svn r21427) -Add: helper function to determine whether a command may be executed --- src/command_func.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/command_func.h') diff --git a/src/command_func.h b/src/command_func.h index 3ed4d1e60..212e71ddf 100644 --- a/src/command_func.h +++ b/src/command_func.h @@ -75,6 +75,8 @@ const char *GetCommandName(uint32 cmd); */ Money GetAvailableMoneyForCommand(); +bool IsCommandAllowedWhilePaused(uint32 cmd); + /** * Extracts the DC flags needed for DoCommand from the flags returned by GetCommandFlags * @param cmd_flags Flags from GetCommandFlags -- cgit v1.2.3-54-g00ecf