summaryrefslogtreecommitdiff
path: root/src/road_type.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-08-25 16:20:26 +0000
committerpeter1138 <peter1138@openttd.org>2008-08-25 16:20:26 +0000
commit6a742cef5fe40e3d4d589c4fceb8598735696839 (patch)
treef697c6e63c5c07f92910d5942173308469dc4775 /src/road_type.h
parent08898f69bebd4ed5fc866aeb31406cc512ed7fcf (diff)
downloadopenttd-6a742cef5fe40e3d4d589c4fceb8598735696839.tar.xz
(svn r14170) -Codechange: Missing enum for road type iteration.
Diffstat (limited to 'src/road_type.h')
-rw-r--r--src/road_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/road_type.h b/src/road_type.h
index e961b5175..8cdf64df0 100644
--- a/src/road_type.h
+++ b/src/road_type.h
@@ -13,6 +13,7 @@
* @note currently only ROADTYPE_ROAD and ROADTYPE_TRAM are supported.
*/
enum RoadType {
+ ROADTYPE_BEGIN = 0, ///< Used for iterations
ROADTYPE_ROAD = 0, ///< Basic road type
ROADTYPE_TRAM = 1, ///< Trams
ROADTYPE_HWAY = 2, ///< Only a placeholder. Not sure what we are going to do with this road type.