mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-19 09:56:01 +01:00
fix: the SOD lamp of the whole consist is opt-in per vehicle (DoorClosureSignal)
The three-state door closure lamp is switched on by DoorClosureSignal=Yes in the Doors: section of the .fiz of the vehicle whose cab shows the lamp (the occupied vehicle), off by default: without it the lamp keeps showing the lock of the vehicle's own doors. The eu07.ini switch doorclosuresignal is gone, the data decides. Sets whose cars lack DoorNeedPermit would blink at every standstill, so only the sets with permits get the key.
This commit is contained in:
@@ -506,12 +506,6 @@ bool global_settings::ConfigParseSimulation(cParser& Parser, const std::string&
|
||||
return true;
|
||||
}
|
||||
|
||||
if (token == "doorclosuresignal")
|
||||
{
|
||||
ParseOne(Parser, DoorClosureSignal);
|
||||
return true;
|
||||
}
|
||||
|
||||
if (token == "movelight")
|
||||
{
|
||||
ParseOne(Parser, fMoveLight, 1, false);
|
||||
@@ -1579,7 +1573,6 @@ global_settings::export_as_text( std::ostream &Output ) const {
|
||||
export_as_text( Output, "skyenabled", asSky );
|
||||
export_as_text( Output, "defaultext", szDefaultExt );
|
||||
export_as_text( Output, "newaircouplers", bnewAirCouplers );
|
||||
export_as_text( Output, "doorclosuresignal", DoorClosureSignal );
|
||||
export_as_text( Output, "anisotropicfiltering", AnisotropicFiltering );
|
||||
export_as_text( Output, "usevbo", bUseVBO );
|
||||
export_as_text( Output, "feedbackmode", iFeedbackMode );
|
||||
|
||||
Reference in New Issue
Block a user