Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

setting parameter "max_speed_drive_by_sight_tram" is not saved correctly

Started by Ranran, January 15, 2022, 09:39:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


if ((file->get_extended_version() == 14 && file->get_extended_revision()) >= 31 || file->get_extended_version() >= 15)
max_speed_drive_by_sight_tram = kmh_to_speed(max_speed_drive_by_sight_tram);

An error in the if statement suggests that this has not been saved correctly since implementation.
Pull request # 466 contains a fix for this.


Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.