summaryrefslogtreecommitdiff
path: root/src/openttd.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-04 09:39:16 +0000
committerrubidium <rubidium@openttd.org>2008-05-04 09:39:16 +0000
commit8ca10353163dfb34174b4c2a1fad94c3286bb868 (patch)
treecf16c5b3b35ed64652f1699c981d1887983cc39c /src/openttd.h
parenta26b25aecc9f05727f990ee0c20acb1feef21c9b (diff)
downloadopenttd-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.h7
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,
};