From 96030141026ded3f892510ff9e3643319f27ebd8 Mon Sep 17 00:00:00 2001 From: zuu Date: Thu, 6 Feb 2014 19:50:34 +0000 Subject: (svn r26307) -Add: [nogo] Allow GS to hide story page date --- src/script/api/script_engine.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/script/api/script_engine.hpp') diff --git a/src/script/api/script_engine.hpp b/src/script/api/script_engine.hpp index 058d23082..5f703e159 100644 --- a/src/script/api/script_engine.hpp +++ b/src/script/api/script_engine.hpp @@ -15,6 +15,7 @@ #include "script_vehicle.hpp" #include "script_rail.hpp" #include "script_airport.hpp" +#include "script_date.hpp" /** * Class that handles all engine related functions. @@ -174,7 +175,7 @@ public: * @pre IsValidEngine(engine_id). * @return The date this engine was designed. */ - static int32 GetDesignDate(EngineID engine_id); + static ScriptDate::Date GetDesignDate(EngineID engine_id); /** * Get the type of an engine. -- cgit v1.2.3-54-g00ecf