summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-02-19 13:45:13 +0000
committerrubidium <rubidium@openttd.org>2007-02-19 13:45:13 +0000
commit168a7876a0106e630a191c52e077bd46f919ee3e (patch)
tree7b89e58f34d3d17403df21b7b79d648ac85a98b9 /src
parent5011997f69e9de0c1d72b809c50b8e50fb5a58c2 (diff)
downloadopenttd-168a7876a0106e630a191c52e077bd46f919ee3e.tar.xz
(svn r8809) -Fix (r8715): accidentally removed a part of an expression.
Diffstat (limited to 'src')
-rw-r--r--src/station_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 2ed72b561..e2cec8651 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -2146,7 +2146,7 @@ static uint32 VehicleEnter_Station(Vehicle *v, TileIndex tile, int x, int y)
}
}
} else if (v->type == VEH_Road) {
- if (v->u.road.state < RVSB_IN_ROAD_STOP && v->u.road.frame == 0) {
+ if (v->u.road.state < RVSB_IN_ROAD_STOP && !IsReversingRoadTrackdir((Trackdir)v->u.road.state) && v->u.road.frame == 0) {
if (IsRoadStop(tile)) {
/* Attempt to allocate a parking bay in a road stop */
RoadStop *rs = GetRoadStopByTile(tile, GetRoadStopType(tile));