OpenTTD / nml

NewGRF Meta Language
GNU General Public License v2.0
44 stars 36 forks source link

Fix `nearby_tile_same_grf`, `nearby_tile_other_grf` and `nearby_tile_original_gfx`, they all compared to wrong constants #330

Closed ahyangyi closed 6 months ago

ahyangyi commented 6 months ago

…original_gfx`, they all compared to wrong constants

ahyangyi commented 6 months ago

Relevant grfspec page:

https://newgrf-specs.tt-wiki.net/wiki/VariationalAction2/Stations

ahyangyi commented 6 months ago

Broken test is false alarm, should be fixed by #331...

LordAro commented 6 months ago

I think it would be less confusing to reorder the definitions so that the numbers are still 0, 1, 2

ahyangyi commented 6 months ago

I wanted to begin with a minimal delta, but the new order does make sense.