diff options
author | zuu <zuu@openttd.org> | 2014-02-06 19:50:34 +0000 |
---|---|---|
committer | zuu <zuu@openttd.org> | 2014-02-06 19:50:34 +0000 |
commit | 96030141026ded3f892510ff9e3643319f27ebd8 (patch) | |
tree | e6e7475076685c561a7d1ff9e1161dbdc56d5f8b /src/script/api/script_subsidy.hpp | |
parent | 1dbd59e6ab9a917214d98c53a8ab8ca5b0d47223 (diff) | |
download | openttd-96030141026ded3f892510ff9e3643319f27ebd8.tar.xz |
(svn r26307) -Add: [nogo] Allow GS to hide story page date
Diffstat (limited to 'src/script/api/script_subsidy.hpp')
-rw-r--r-- | src/script/api/script_subsidy.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script/api/script_subsidy.hpp b/src/script/api/script_subsidy.hpp index 3069ad918..16a679440 100644 --- a/src/script/api/script_subsidy.hpp +++ b/src/script/api/script_subsidy.hpp @@ -13,6 +13,7 @@ #define SCRIPT_SUBSIDY_HPP #include "script_company.hpp" +#include "script_date.hpp" /** * Class that handles all subsidy related functions. @@ -83,7 +84,7 @@ public: * @note The return value of this function will change if the subsidy is * awarded. */ - static int32 GetExpireDate(SubsidyID subsidy_id); + static ScriptDate::Date GetExpireDate(SubsidyID subsidy_id); /** * Get the cargo type that has to be transported in order to be awarded this |