summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-11-20 13:35:54 +0000
committerskidd13 <skidd13@openttd.org>2007-11-20 13:35:54 +0000
commit3ae50673a3e1e64a6038c53570c5ee168073e038 (patch)
tree51f15a2e52f58ea4446467086c5441cebe4324bf /src/vehicle.cpp
parent795174edf13e99cdef7eda73fbc088e2b06df051 (diff)
downloadopenttd-3ae50673a3e1e64a6038c53570c5ee168073e038.tar.xz
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r--src/vehicle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp
index 957093552..960298870 100644
--- a/src/vehicle.cpp
+++ b/src/vehicle.cpp
@@ -1755,7 +1755,7 @@ CommandCost CmdCloneVehicle(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
w = GetVehicle(_new_vehicle_id);
if (v->type == VEH_TRAIN && HasBit(v->u.rail.flags, VRF_REVERSE_DIRECTION)) {
- SETBIT(w->u.rail.flags, VRF_REVERSE_DIRECTION);
+ SetBit(w->u.rail.flags, VRF_REVERSE_DIRECTION);
}
if (v->type == VEH_TRAIN && !IsFrontEngine(v)) {