diff options
author | rubidium <rubidium@openttd.org> | 2008-05-04 09:39:16 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-04 09:39:16 +0000 |
commit | 8ca10353163dfb34174b4c2a1fad94c3286bb868 (patch) | |
tree | cf16c5b3b35ed64652f1699c981d1887983cc39c /src/openttd.h | |
parent | a26b25aecc9f05727f990ee0c20acb1feef21c9b (diff) | |
download | openttd-8ca10353163dfb34174b4c2a1fad94c3286bb868.tar.xz |
(svn r12939) -Codechange: do not use the window proc to determine whether a toolbar is a rail toolbar, but use the window number.
Diffstat (limited to 'src/openttd.h')
-rw-r--r-- | src/openttd.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/openttd.h b/src/openttd.h index 1be4e6707..1ee6bebeb 100644 --- a/src/openttd.h +++ b/src/openttd.h @@ -56,9 +56,10 @@ enum TransportType { * the values for road and rail. */ TRANSPORT_BEGIN = 0, - TRANSPORT_RAIL = 0, - TRANSPORT_ROAD = 1, - TRANSPORT_WATER, // = 2 + TRANSPORT_RAIL = TRANSPORT_BEGIN, + TRANSPORT_ROAD, + TRANSPORT_WATER, + TRANSPORT_AIR, TRANSPORT_END, INVALID_TRANSPORT = 0xff, }; |