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
Additionally, someone in the know might want to update the TTDPatch wiki to say exactly when each vehicle property is updated by callback 36. At the moment it just says "most" do this, while "some" do that; very vague indeed.
Seems to me there is no other solution to this problem than to invalidate the complete vehicle cache. We might "optimise" this a bit by only running this once per tick if it's needed, but that only really matters when crossing a different type of track with a relatively long train.
A (semi) optimisation could be to only look at the from engine for the rail type, but that is probably bound to cause more trouble than it's worth.
NOTE: also update the track conversion method as the UpdatePower thingy has the same issue there. It should probably update it if it's not powered as a NewGRF can use the railtype regardless of its poweredness.
Pikka opened the ticket and wrote:
Attachments
Reported version: trunk
Operating system: All
This issue was imported from FlySpray: https://bugs.openttd.org/task/3978
The text was updated successfully, but these errors were encountered: