Navigation Menu

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

MiniMap was misplacing vehicles sometimes #402

Closed
DorpsGek opened this issue Nov 15, 2006 · 1 comment
Closed

MiniMap was misplacing vehicles sometimes #402

DorpsGek opened this issue Nov 15, 2006 · 1 comment
Labels
component: interface This is an interface issue 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

HMage opened the ticket and wrote:

The mini map (on F4) was sometimes misplacing vehicles. It would offset them on x or y axis. The attached screenshot shows this. A v0.4.8 savegame is provided as well. That was quite inconvinient when you have large transport network and you see a train running "on the wrong line".

The patch fixes that - since it's integer logic, addition of integer variables accumulates just enough amount to offset the result later after dividing by 16. And since we want to be exact where is what, we need to divide by 16 both integer variables separatedly and do addition later.

Hope that extra division is worth the convinience.

Attachments

Reported version: 0.4.8
Operating system: All


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

KUDr closed the ticket.

Reason for closing: Fixed

r7166


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

@DorpsGek DorpsGek added component: interface This is an interface issue 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
component: interface This is an interface issue 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