[Rseding91] [0.16.6] Train max_speed calculation is wrong

This subforum contains all the issues which we already resolved.
Abex
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Jun 10, 2016 7:43 pm
Contact:

[Rseding91] [0.16.6] Train max_speed calculation is wrong

Post by Abex »

When fueling a multi-locomotive train the max_speed is only averaged for 'fuel_top_speed_multiplier!=1.0' locomotives. This means if you have two locomotives, one fueled with Nuclear fuel and the other with Coal it runs at 298.1km/h, but a train with Nuclear fuel and Rocket fuel runs at 285.1km/h.

The relevant code is in 'void Train::updateMaxSpeed(void)', the if statement probably should check for 'fuel_top_speed_multiplier!=0.0', or something similar.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14273
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [0.16.6] Train max_speed calculation is wrong

Post by Rseding91 »

Thanks for the report. It's now fixed for the next version of 0.16.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”