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

Crash with industry var 61 #5462

Closed
DorpsGek opened this issue Feb 5, 2013 · 3 comments
Closed

Crash with industry var 61 #5462

DorpsGek opened this issue Feb 5, 2013 · 3 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Feb 5, 2013

Pikka opened the ticket and wrote:

Vintage Kablooie. OpenTTD crashes on world generation, r24967.

Responsible Pseudosprite is

169 * 33 02 0A 10 85 61 00 20 0F 00 \2* 1A 20 \w25 \2+ 1A 20 \w425
\2psto 1A 00 \w1 01
AA 00 \w0 \w0 AA 00

Swapping out var 61 for any other var (eg 1A for a constant) does not crash and produces the expected results.

Test GRF can be cobbled together if required.

Attachments

Reported version: trunk
Operating system: All


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

DorpsGek commented Feb 5, 2013

peter1138 wrote:

Patch prevents testing against tile when tile is invalid. May not do what the NewGRF author intends but will prevent crashing.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/5462#comment11970

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 5, 2013

Pikka wrote:

What more could I ask?


This comment was imported from FlySpray: https://bugs.openttd.org/task/5462#comment11971

@DorpsGek
Copy link
Member Author

DorpsGek commented Feb 5, 2013

peter1138 closed the ticket.

Reason for closing: Fixed

In r24973


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

@DorpsGek DorpsGek closed this as completed Feb 5, 2013
@DorpsGek DorpsGek added NewIndustries flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 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/)
Projects
None yet
Development

No branches or pull requests

1 participant