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

Stop red error tile selection overlay from preventing other overlays from drawing #1871

Closed
DorpsGek opened this issue Mar 22, 2008 · 1 comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay

Comments

@DorpsGek
Copy link
Member

Icosikai opened the ticket and wrote:

The pulsating red square that overlays a tile which is causing a command to fail (i.e. overlaying a piece of rail preventing a terraform command proceeding) does not allow other selection overlays to be drawn afterward over the same tile.

For example, the autorail highlights do not get drawn over this errored tile. This can be annoying when trying to remove a single piece of track that is preventing terraforming using the autorail tool, as no indication of the autorail's current direction under the cursor is displayed.

This simple patch ensures appropriate selection overlays can be drawn over the error marking one (terraform area selection dots and autorail highlights), but ensures that the error overlay still takes precedence over the other square selection overlays: white/red (i.e. station placement/removal area) and light blue (station catchment area).

Attachments

Reported version: trunk
Operating system: All


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

Rubidium closed the ticket.

Reason for closing: Fixed

In r12439.


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

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay 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/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay
Projects
None yet
Development

No branches or pull requests

1 participant