Skip to content

Commit

Permalink
Change: Support for 8 bit station tile types. (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterN authored Sep 15, 2024
1 parent 94747fa commit d3b5d93
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 @@ -298,7 +298,7 @@ def vehicle_tramtype(name, args, pos, info):
**varact2vars_base_stations,
# Vars 40, 41, 46, 47, 49 are implemented as 60+x vars,
# except for the 'tile type' part which is always the same anyways
'tile_type' : {'var': 0x40, 'start': 24, 'size': 4},
'tile_type' : {'var': 0x40, 'start': 24, 'size': 8},
'terrain_type' : {'var': 0x42, 'start': 0, 'size': 8},
'track_type' : {'var': 0x42, 'start': 8, 'size': 8},
'company_num' : {'var': 0x43, 'start': 0, 'size': 8},
Expand Down

0 comments on commit d3b5d93

Please sign in to comment.