OpenTTD

Tasklist

FS#577 - RVs do to obtain a slot if too far away from st->xy

Attached to Project: OpenTTD
Opened by Celestar (Celestar) - Wednesday, 24 January 2007, 16:54 GMT
Last edited by Celestar (Celestar) - Friday, 02 February 2007, 15:55 GMT
Type Bug
Category Core
Status Closed
Assigned To Celestar (Celestar)
Operating System All
Severity High
Priority Urgent
Reported Version trunk
Due in Version 0.5.0
Due Date 2007-01-25
Percent Complete 100%
Votes 0
Private No

Details

If a station has a very high spread, and the distance between a roadstop and the station xy tile is too large, no slot is being obtained whatsoever for Road Vehicles.

Solutions:
1) Don't assign a slot at a minimum distance of 16, but at a distance of maximum_station_spread * 2 + 1.
2) Don't assign a slot at a minimum distance of 16, but at a distance of the spread of the station in question + 1.
3) Compute the distance not between the RV and st->xy but between the RV and the xy of the Primary Road Stop.
This task depends upon

Closed by  Celestar (Celestar)
Friday, 02 February 2007, 16:51 GMT
Reason for closing:  Fixed

Loading...