You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The game crashes when I attempt to clone a train, specifically "SH '125' (Diesel)" with and without cloning shared orders.
Using revision r9692.
Steps to reproduce:
Set year to 2000.
Build a rail depot.
Create an SH '125' Diesel engine with 12 passenger cars.
Clone the vehicle.
I've attached the crash.log file, and I've also attached the save game where I discovered this, but I was able to reproduce it, so it shouldn't be necessary.
In the case of the SH 125, this is due to vehicle.cpp:1882. For multiheaded vehicles w2->next is the other half of the vehicle, but v2->next is the carriage after the first vehicle, so the cargo types of completely different vehicles are being compared.
kevmo314 opened the ticket and wrote:
Attachments
Reported version: trunk
Operating system: Windows
This issue was imported from FlySpray: https://bugs.openttd.org/task/739
The text was updated successfully, but these errors were encountered: