(svn r21427) -Add: helper function to determine whether a command may be executed
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user