From d3b5d93c73490eb302b703e92b1685adede994e0 Mon Sep 17 00:00:00 2001 From: Peter Nelson Date: Sun, 15 Sep 2024 19:27:23 +0100 Subject: [PATCH] Change: Support for 8 bit station tile types. (#339) --- nml/actions/action2var_variables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nml/actions/action2var_variables.py b/nml/actions/action2var_variables.py index 47acd0e0..040b59a9 100644 --- a/nml/actions/action2var_variables.py +++ b/nml/actions/action2var_variables.py @@ -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},