mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 02:49:19 +02:00
The +8/+16/+24/+32/+40 (and the new +48) modes all pick the reporting vehicle the same way: the activator's own Mechanik if it's the primary driver, otherwise the consist's controlling vehicle (ctOwner) - so the event still resolves correctly if a wagon happens to trigger it ahead of its locomotive. +0 (train name / stations left / stop flag) predates that pattern and never got it: it required m_activator->Mechanik directly and silently wrote nothing otherwise. A whois hook placed where the loco doesn't necessarily lead (e.g. a train that reverses direction, or one being propelled) can have a wagon trigger the event first and the memcell stays empty, with no error - hard to diagnose from scenery side. Same owner-selection, same guard semantics (still nothing written if neither the activator nor its consist has a controller), only the source of the vehicle it reads from is widened.