(svn r12194) -Codechange: apply coding style on enum TrainSubtype

This commit is contained in:
smatz
2008-02-20 15:18:35 +00:00
parent f5929d413b
commit 73a6525129
2 changed files with 25 additions and 25 deletions

View File

@@ -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);