summaryrefslogtreecommitdiff
path: root/src/transport_type.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-04-17 13:31:41 +0000
committerfrosch <frosch@openttd.org>2010-04-17 13:31:41 +0000
commit75d4bc947ddbb92ecf660d9a9858c854d5e34a15 (patch)
treeb218a672a78b894388373d2e700e6ad6ebe75b63 /src/transport_type.h
parent184fa43df2e14c73162e641bc9bc83e403f069ed (diff)
downloadopenttd-75d4bc947ddbb92ecf660d9a9858c854d5e34a15.tar.xz
(svn r19654) -Codechange: Use Extract<> in more places.
Diffstat (limited to 'src/transport_type.h')
-rw-r--r--src/transport_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/transport_type.h b/src/transport_type.h
index 71b452b5f..65af9c75b 100644
--- a/src/transport_type.h
+++ b/src/transport_type.h
@@ -30,5 +30,6 @@ enum TransportType {
TRANSPORT_END,
INVALID_TRANSPORT = 0xff,
};
+template <> struct EnumPropsT<TransportType> : MakeEnumPropsT<TransportType, byte, TRANSPORT_BEGIN, TRANSPORT_END, INVALID_TRANSPORT, 2> {};
#endif /* TRANSPORT_TYPE_H */