summaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-05-26 14:16:03 +0000
committerfrosch <frosch@openttd.org>2012-05-26 14:16:03 +0000
commita8c88f43b678b6d44e1fb4f78a51cdb7fb08a8aa (patch)
tree38b53a0432d536abc9dcfbbdd0b5c7c74bd55f99 /src/script
parenta0be398da9f80ac316b2d8959ddf96345414dde2 (diff)
downloadopenttd-a8c88f43b678b6d44e1fb4f78a51cdb7fb08a8aa.tar.xz
(svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and NewsFlag instead.
Diffstat (limited to 'src/script')
-rw-r--r--src/script/api/script_news.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/script/api/script_news.hpp b/src/script/api/script_news.hpp
index 3c40e6f33..0867b91fe 100644
--- a/src/script/api/script_news.hpp
+++ b/src/script/api/script_news.hpp
@@ -25,10 +25,9 @@ public:
* Enumeration for the news types that a script can create news for.
*/
enum NewsType {
- /* Note: these values represent part of the in-game NewsSubtype enum */
- NT_ECONOMY = ::NS_ECONOMY, ///< Category economy.
- NT_SUBSIDIES = ::NS_SUBSIDIES, ///< Category subsidies.
- NT_GENERAL = ::NS_GENERAL, ///< Category general.
+ NT_ECONOMY = ::NT_ECONOMY, ///< Category economy.
+ NT_SUBSIDIES = ::NT_SUBSIDIES, ///< Category subsidies.
+ NT_GENERAL = ::NT_GENERAL, ///< Category general.
};
/**