Skip to content

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

@DorpsGek

Description

@DorpsGek

Celestar opened the ticket and wrote:

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.

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/577

Metadata

Metadata

Assignees

No one assigned

    Labels

    flysprayThis issue is imported from FlySpray (https://bugs.openttd.org/)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions