-
-
Notifications
You must be signed in to change notification settings - Fork 968
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
Disasters: wrong location shown in factory/refinery destroyed message #8956
Comments
Sounds like #8810. |
From some of my own testing (and looking at the code), it appears that the news message is likely using the industry's ID as the tile ID to display in the news message, and not the actual location of the (northernmost) corner of the industry itself. See the following code segments for a likely backtrace: OpenTTD/src/disaster_vehicle.cpp Line 459 in 825867f
OpenTTD/src/disaster_vehicle.cpp Lines 471 to 472 in 825867f
Lines 63 to 67 in 825867f
Lines 278 to 282 in 825867f
|
Version of OpenTTD
1.11.0
Expected result
The message shows the correct location of the incident
Actual result
The shown location of the incident is incorrect - it always shows the top left edge of the map.

Steps to reproduce
The bug always appears, just start the game with disasters.
The text was updated successfully, but these errors were encountered: