diff --git a/src/paint/map_element/path.c b/src/paint/map_element/path.c index 217b3f6509..f0c985fd6d 100644 --- a/src/paint/map_element/path.c +++ b/src/paint/map_element/path.c @@ -1013,7 +1013,7 @@ void loc_6A37C9(rct_map_element * map_element, int height, rct_footpath_entry * RCT2_GLOBAL(0x141E9C4, uint16) = 0xFFFF; // no idea whre bp comes from - uint16 bp = 0; + uint16 bp = edi; if (bp & 1) { RCT2_GLOBAL(0x141E9CC, uint16) = 0xFFFF;