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

Availability years for buildings #4581

Closed
DorpsGek opened this issue Apr 6, 2011 · 2 comments
Closed

Availability years for buildings #4581

DorpsGek opened this issue Apr 6, 2011 · 2 comments
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

DorpsGek commented Apr 6, 2011

PaulC opened the ticket and wrote:

RE: http://www.tt-forums.net/viewtopic.php?f=68&t=53926&p=940113# p940113

mcdonalds.grf contains a single building which is coded to be available from 1971 onwards (action 0 prop 0A). However, when used in OTTD the building is available from the start year, and only works as intended when used with another building set. Is this a bug, or is it just how OTTD treats new houses? It doesn't seem logical (to me) when all of the default buildings are still present. FWIW, this problem does not occur in TTDP.

Attachments

Reported version: 1.1.0
Operating system: All


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

DorpsGek commented Apr 7, 2011

planetmaker wrote:

Indeed OpenTTD checks all NewGRF houses and then sets availability of the one with the minimum introduction year to introduction year 0.

See FinaliseHouseArray in newgrf.cpp:7605 and 7659-7665


This comment was imported from FlySpray: https://bugs.openttd.org/task/4581#comment9853

@DorpsGek
Copy link
Member Author

DorpsGek commented Apr 8, 2011

planetmaker closed the ticket.

Reason for closing: Fixed

In r22299


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

@DorpsGek DorpsGek closed this as completed Apr 8, 2011
@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