mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-27 21:45:16 +01:00
The ogl initialisation, the -resolution/-margin values of the standalone previews and the submodel lookups of TGauge::Load assign or increment in the right operand of && or ||. Each becomes plain statements which run exactly when the operand ran before: init_ogl() only when needs_ogl(), i advanced only when a value follows (and accepted), and the lookups by name and then by name + "_off" per model, in the same order, leaving submodel, submodelon and m_sourcemodel with the same values.
12 KiB
12 KiB