You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…d correctly.
OpenTTD#12229 stopped updating motion_counter for non-engine parts of trains, and in doing so accidentally followed the spec for NewGRF var 46, which breaks NewGRFs that used to... accidentally work.
Make var 46 return motion_counter of the first engine, regardless of self or parent scope. This means var 46 is always in sync with the head engine, and avoids further changes to when motion_counter is updated.
PeterN
added a commit
to PeterN/OpenTTD
that referenced
this issue
Apr 23, 2024
Version of OpenTTD
Since #12229
Expected result
All parts of an articulated train engine should have their motion_counter updated.
Actual result
Only the head part now has its motion_counter updated.
This breaks running animations for NewGRFs such as Timberwolf's Trains.
Steps to reproduce
See Vehicle::motion_counter for an articulated engine
The text was updated successfully, but these errors were encountered: