diff options
author | rubidium <rubidium@openttd.org> | 2010-12-07 21:08:35 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-12-07 21:08:35 +0000 |
commit | e170b1d83e0142fdcc4260a2f3d623324de1415f (patch) | |
tree | 066710c1cb2ee5e81b177ca38203c95324149ac5 /src/command_func.h | |
parent | df410fd7ed6a4ad36d59f4eb9c84138437cb8a0c (diff) | |
download | openttd-e170b1d83e0142fdcc4260a2f3d623324de1415f.tar.xz |
(svn r21427) -Add: helper function to determine whether a command may be executed
Diffstat (limited to 'src/command_func.h')
-rw-r--r-- | src/command_func.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |