diff options
author | smatz <smatz@openttd.org> | 2008-02-20 15:18:35 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-02-20 15:18:35 +0000 |
commit | 7dbb21c69ba46f4d042b06f6c375b3a0c3bbf1b9 (patch) | |
tree | 14ead4c3f501775a6a37499b96a4d591a9285606 /src/train_cmd.cpp | |
parent | 1d120c51b8289eaa802b12d965bfa95e57880c0b (diff) | |
download | openttd-7dbb21c69ba46f4d042b06f6c375b3a0c3bbf1b9.tar.xz |
(svn r12194) -Codechange: apply coding style on enum TrainSubtype
Diffstat (limited to 'src/train_cmd.cpp')
-rw-r--r-- | src/train_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index c4c18910e..9e3c70e08 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -1445,7 +1445,7 @@ CommandCost CmdSellRailWagon(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) * up on a new line to be added to the newly built loco. Replace it is. * Totally braindead cause building a new engine adds all loco-less * engines to its train anyways */ - if (p2 == 2 && HasBit(ori_subtype, Train_Front)) { + if (p2 == 2 && HasBit(ori_subtype, TS_FRONT)) { Vehicle *tmp; for (v = first; v != NULL; v = tmp) { tmp = GetNextVehicle(v); |