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 when building on top of already built object #4107

Closed
DorpsGek opened this issue Sep 2, 2010 · 2 comments
Closed

Crash when building on top of already built object #4107

DorpsGek opened this issue Sep 2, 2010 · 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 Sep 2, 2010

Vitus opened the ticket and wrote:

Hello,

got an assertion error while playing with selfcompiled r20701, the error is: Assertion failed at line 671 of ../src/command.cpp: res.GetCost() == res2.GetCost() && res.Failed() == res2.Failed().

It happened while building dam (from this NewGRF - http://www.tt-forums.net/viewtopic.php?p=900764# p900764) on top of already built dam, which shouldn't be possible. Currently, it's also possible to build almost anything on top of already build object. Instead of giving error message (object in way), it rather destroys the object itself - this doesn't seem to be desired behaviour, too.

Thanks for your time,
Vitus.

Reported version: trunk
Operating system: All


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

DorpsGek commented Sep 3, 2010

Vitus wrote:

Just to correct the bug report: it was with selfcompiled r20721, not r20701.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4107#comment8736

@DorpsGek
Copy link
Member Author

DorpsGek commented Sep 3, 2010

Yexo closed the ticket.

Reason for closing: Fixed

In r20729


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

@DorpsGek DorpsGek closed this as completed Sep 3, 2010
@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