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 dragging destroyed vehicle #2500

Closed
DorpsGek opened this issue Jan 4, 2009 · 2 comments
Closed

crash when dragging destroyed vehicle #2500

DorpsGek opened this issue Jan 4, 2009 · 2 comments
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Jan 4, 2009

SmatZ opened the ticket and wrote:

Game crashes when dragging (in a depot) destroyed (for example flooded) vehicle, and it disappears during that. When the user tries to sell that vehicle, the game crashes at NOT_REACHED() (invalid vehicle type).

Similiar case is in multiplayer, when the vehicle is sold by different player.

Maybe applies to other places (like Vehicle lists and Group windows) and situations (VehicleID is reused by vehicle now belonging to different player).

Reported version: trunk
Operating system: All


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

DorpsGek commented Jan 8, 2009

frosch wrote:

Cannot reproduce for depot gui. DeleteDepotHighlightOfVehicle() is called in the PreDestructor. Though it does not explicitly test which vehicle is selected. (Why?)

Attached patch does the same for the group gui.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/2500#comment5249

@DorpsGek
Copy link
Member Author

DorpsGek commented Jan 8, 2009

frosch closed the ticket.

Reason for closing: Fixed

in r14748 and r14925


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

@DorpsGek DorpsGek closed this as completed Jan 8, 2009
@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) bug labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant