Revert "Improve pantograph selector"

This reverts commit 13d9a91632.
This commit is contained in:
Ryba04
2024-09-10 23:04:17 +02:00
parent 9339c1b8ae
commit f9d04f7397
4 changed files with 1 additions and 11 deletions

View File

@@ -637,12 +637,6 @@ bool TTrain::Init(TDynamicObject *NewDynamicObject, bool e3d)
DynamicObject->Mechanik->sync_consist_reversers();
}
// Set the default pantograph preset and update pantographs' valves accordingly.
change_pantograph_selection(mvOccupied->PantsPresetDefault);
// Avoid double update if the default is other than 0.
if (mvOccupied->PantsPresetDefault == 0)
update_pantograph_valves();
return true;
}