changeset 6076:0540ac4a12e6 draft

(svn r8809) -Fix (r8715): accidentally removed a part of an expression.
author rubidium <rubidium@openttd.org>
date Mon, 19 Feb 2007 13:45:13 +0000
parents cc6d57844f35
children 759ebc94c994
files src/station_cmd.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -2146,7 +2146,7 @@
 			}
 		}
 	} 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));