summaryrefslogtreecommitdiff
path: root/src/train.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-04-07 12:36:50 +0000
committersmatz <smatz@openttd.org>2008-04-07 12:36:50 +0000
commitac389e16d2407b16b57ef7071d4546ed6616cada (patch)
treed2fd2aad17d2b6452497489fdbb02b4d92e6c076 /src/train.h
parentf46ae97d8e973d6432e981eef86de37d4eb93baf (diff)
downloadopenttd-ac389e16d2407b16b57ef7071d4546ed6616cada.tar.xz
(svn r12605) -Cleanup: variable scope and coding style in train*
Diffstat (limited to 'src/train.h')
-rw-r--r--src/train.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/train.h b/src/train.h
index ab3d04190..c6023ab37 100644
--- a/src/train.h
+++ b/src/train.h
@@ -10,12 +10,10 @@
#include "vehicle_base.h"
-/*
- * enum to handle train subtypes
+/** enum to handle train subtypes
* Do not access it directly unless you have to. Use the access functions below
* This is an enum to tell what bit to access as it is a bitmask
*/
-
enum TrainSubtype {
TS_FRONT = 0, ///< Leading engine of a train
TS_ARTICULATED_PART = 1, ///< Articulated part of an engine