Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trolly Pathfinder Slope Detection wrong (Patch attached) #1070

Closed
DorpsGek opened this issue Jul 23, 2007 · 1 comment
Closed

Trolly Pathfinder Slope Detection wrong (Patch attached) #1070

DorpsGek opened this issue Jul 23, 2007 · 1 comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

frosch opened the ticket and wrote:

Maybe obsolete because of NoAI, but: Trolly pathfinder did not correctly detect slopes.

The patch consists of three changes:

  1. Slope was tested for tileh, not parent_tileh
  2. Trolly did not know about build on steep slopes. (Though this does not matter for road building.)
    I know the foundations are magic numbers, but that's a different patch.
  3. In the road part, the "HASBIT(BRIDGE_NO_FOUNDATION, parent_tileh)"-thingy was missing.

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/1070
@DorpsGek
Copy link
Member Author

TrueBrain closed the ticket.

Reason for closing: Fixed

Fixed in r10655; tnx!


This comment was imported from FlySpray: https://bugs.openttd.org/task/1070

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) Original labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant