summaryrefslogtreecommitdiff
path: root/src/tunnelbridge_cmd.cpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-11-19 21:32:20 +0000
committerskidd13 <skidd13@openttd.org>2007-11-19 21:32:20 +0000
commit6801cceda1cb1d81c627b6d30c19933d81179ce9 (patch)
tree7d43b1e4a7bf1344b1d4cfb2dc2618720a0040e8 /src/tunnelbridge_cmd.cpp
parentc0a2c0c23e129cb81400c5204fc9d0eedd9afb85 (diff)
downloadopenttd-6801cceda1cb1d81c627b6d30c19933d81179ce9.tar.xz
(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style
Diffstat (limited to 'src/tunnelbridge_cmd.cpp')
-rw-r--r--src/tunnelbridge_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tunnelbridge_cmd.cpp b/src/tunnelbridge_cmd.cpp
index 7a6ba1f30..3d2b1af2c 100644
--- a/src/tunnelbridge_cmd.cpp
+++ b/src/tunnelbridge_cmd.cpp
@@ -1485,8 +1485,8 @@ static uint32 VehicleEnter_TunnelBridge(Vehicle *v, TileIndex tile, int x, int y
}
if (v->type == VEH_TRAIN) {
v->u.rail.track = TRACK_BIT_WORMHOLE;
- CLRBIT(v->u.rail.flags, VRF_GOINGUP);
- CLRBIT(v->u.rail.flags, VRF_GOINGDOWN);
+ ClrBit(v->u.rail.flags, VRF_GOINGUP);
+ ClrBit(v->u.rail.flags, VRF_GOINGDOWN);
} else {
v->u.road.state = RVSB_WORMHOLE;
}