(svn r8809) -Fix (r8715): accidentally removed a part of an expression.

This commit is contained in:
rubidium 2007-02-19 13:45:13 +00:00
parent 5011997f69
commit 168a7876a0
1 changed files with 1 additions and 1 deletions

View File

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