mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 09:49:19 +02:00
A permitting signal no longer wakes a dormant AI: the synthetic departure command, the shunt-signal ownership tag and the secondary scan that fed them are gone, and cm_SetVelocity / cm_ShuntVelocity go back to plain PutCommand with the pre-existing order mask. A secondary now only settles its own vehicle. Claiming the lead stays for explicit orders. The rest is SonarCloud cleanup on the branch: if-init statements, merged and flattened conditionals, split chained assignments, ranges::any_of, pointer-to-const parameters, std::array for the flag name table and no more shadowed names.