mirror of https://github.com/OpenTTD/OpenTTD
(svn r18271) -Fix [FS#3315]: road vehicles wouldn't reserve a road stop in tunnels/on bridges so when they leave wormhole they're still focussed on the main road stop causing unneededly long queues
parent
32926facf9
commit
8193dad106
|
@ -1411,6 +1411,7 @@ static VehicleEnterTileStatus VehicleEnter_TunnelBridge(Vehicle *v, TileIndex ti
|
||||||
rv->state = _road_exit_tunnel_state[dir];
|
rv->state = _road_exit_tunnel_state[dir];
|
||||||
rv->frame = _road_exit_tunnel_frame[dir];
|
rv->frame = _road_exit_tunnel_frame[dir];
|
||||||
rv->vehstatus &= ~VS_HIDDEN;
|
rv->vehstatus &= ~VS_HIDDEN;
|
||||||
|
rv->FindRoadStopSlot();
|
||||||
return VETSB_ENTERED_WORMHOLE;
|
return VETSB_ENTERED_WORMHOLE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue