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
town_euclidean_dist (0x66) variable for industries returns value with town zone included like this: zzdddd, so the result value is wrong.
It should be masked with 0xFFFF to return only the distance. Otherwise the value has to be masked in nml newgrf code, but then it should be stated in nml wiki.
Check action2var_variables.py, line 608 agains newgrf_industries.cpp line 290.
Size should be probably fixed to 16 in nml source.
The text was updated successfully, but these errors were encountered:
glx22
added a commit
to glx22/nml
that referenced
this issue
Apr 23, 2021
town_euclidean_dist (0x66) variable for industries returns value with town zone included like this: zzdddd, so the result value is wrong.
It should be masked with 0xFFFF to return only the distance. Otherwise the value has to be masked in nml newgrf code, but then it should be stated in nml wiki.
Check action2var_variables.py, line 608 agains newgrf_industries.cpp line 290.
Size should be probably fixed to 16 in nml source.
The text was updated successfully, but these errors were encountered: