18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-17 09:14:10 +01:00
Files
maszyna/tests/unit/test_smoke.cpp
jerrrrycho a6c7d53983 fix: SmokeDelay defaults to 0, the delay comes only from the vehicle's .fiz (eu07/maszyna#523)
Without SmokeDelay in its Engine section a diesel smokes as soon as the
starter turns, as before; the delay is set per locomotive in its own .fiz.
The value stays a member of the vehicle's mover, read from its .fiz with
an explicit default of 0.

Tests: the real SM42 and ST44 with SmokeDelay=2 and 5 in the .fiz, and
without it (smoke at once), next to a locomotive with a delay loaded
just before, which keeps its own value.
2026-11-08 12:33:53 +01:00

6.0 KiB