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

House variable 66 (class and ID of nearby house tile) returns wrong value for old TTD houses #6432

Closed
DorpsGek opened this issue Mar 14, 2016 · 1 comment
Labels
component: NewGRF This issue is related to NewGRFs flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

adf88 opened the ticket and wrote:

The low word of house variable 66, according to NewGRF spec (http://newgrf-specs.tt-wiki.net/wiki/VariationalAction2/Houses# Class_and_ID_of_nearby_house_tile_.2866.29), should contain

"00XXh if the selected house is old house type XX"

if original TTD house is encountered. Instead, the game returns something different (0200h).

Fix-patch attached.

Attachments

Reported version: trunk
Operating system: All


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

frosch closed the ticket.

Reason for closing: Fixed

in r27574. Thanks for the patch!


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

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

No branches or pull requests

1 participant