Skip to content

Commit

Permalink
Change: replace nearby_tile_platform_type with nearby_tile_tile_type. (
Browse files Browse the repository at this point in the history
  • Loading branch information
frosch123 authored Sep 4, 2022
1 parent 121c207 commit 0af534d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nml/actions/action2var_variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def platform_info_fix_var(var, info):
'nearby_tile_original_gfx' : {'var': 0x68, 'start': 8, 'size': 2, 'param_function': signed_tile_offset, 'value_function': value_equals(2)},
'nearby_tile_same_station' : {'var': 0x68, 'start': 10, 'size': 1, 'param_function': signed_tile_offset},
'nearby_tile_perpendicular' : {'var': 0x68, 'start': 11, 'size': 1, 'param_function': signed_tile_offset},
'nearby_tile_platform_type' : {'var': 0x68, 'start': 12, 'size': 2, 'param_function': signed_tile_offset},
'nearby_tile_tile_type' : {'var': 0x68, 'start': 11, 'size': 3, 'param_function': signed_tile_offset},
'nearby_tile_grfid' : {'var': 0x6A, 'start': 0, 'size': 32, 'param_function': signed_tile_offset},
# 'var' will be set in the value_function, depending on parameter
'platform_length' : {'var': 0x00, 'start': 16, 'size': 4, 'param_function': platform_info_param, 'value_function': platform_info_fix_var},
Expand Down

0 comments on commit 0af534d

Please sign in to comment.