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

correct error message while building on tile 0 #1173

Closed
DorpsGek opened this issue Aug 31, 2007 · 3 comments
Closed

correct error message while building on tile 0 #1173

DorpsGek opened this issue Aug 31, 2007 · 3 comments
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

SmatZ opened the ticket and wrote:

r11014

This patch changes order of checks while trying to build on tile 0. That tile is used in the vehicle position hashing system for aircrafts in fly and for special vehicles.

In current version, player gets message "Aircraft in the way" or "Ship in the way" depending on if aircraft or a special vehicle is in the hash map found first.

Also, it removes unnecessary check for WATER_COAST - coast can not be on the edge of the map, so it doesn't need to be checked.

(maybe aplies for 0.5 branch too)

Attachments

Reported version: trunk
Operating system: All


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

Rubidium wrote:

This doesn't work for at least ship depots.


This comment was imported from FlySpray: https://bugs.openttd.org/task/1173#comment2013

@DorpsGek
Copy link
Member Author

SmatZ wrote:

new version - ship depots, trees, purchase land - now will get better error message

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/1173#comment2015

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

In r11024. Thanks for the patch.


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

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

No branches or pull requests

1 participant