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
I've defined
# define disable_visual_effect_and_powered() visual_effect_and_powered(VISUAL_EFFECT_DISABLE, 0, DISABLE_WAGON_POWER)
and try to apply it to trains parts.
As you can see for ER200, everything works correctly on every track. Sparks appear just where they should over motorized cars with pantographs.
And on EVS1/EVS2, which are a single articulated vehicle, sparks appear over wagons regardless specified effect and differ on different tracks.
Could you please check if it is a bug in GRF or OTTD?
You are using variable 61, which is disallowed during callback 10.
It then returns "visual_effect_and_powered(VISUAL_EFFECT_ELECTRIC, 7, DISABLE_WAGON_POWER)". (see screenshot with trace; not in nightly yet)
George opened the ticket and wrote:
Attachments
Reported version: trunk
Operating system: Windows
This issue was imported from FlySpray: https://bugs.openttd.org/task/5848
The text was updated successfully, but these errors were encountered: