From 21c55fda03fd8356a45e596be2c6975e54b46110 Mon Sep 17 00:00:00 2001 From: Josue Acevedo Date: Mon, 7 Mar 2016 10:18:53 -0600 Subject: [PATCH] Fix a bug that prevents connect footpaths to ride. Fix a bug that prevents connect footpaths to the ride entrance/exit with multiple stations (Fixes #3100). --- src/world/footpath.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/world/footpath.c b/src/world/footpath.c index 4a262feb34..078b136e8a 100644 --- a/src/world/footpath.c +++ b/src/world/footpath.c @@ -52,8 +52,7 @@ static const uint16 EntranceDirections[] = { static int entrance_get_directions(rct_map_element *mapElement) { uint8 entranceType = mapElement->properties.entrance.type; - uint8 sequence = mapElement->properties.entrance.index & 0x0F; - return EntranceDirections[(entranceType * 8) + sequence]; + return EntranceDirections[(entranceType * 8)]; } static bool entrance_has_direction(rct_map_element *mapElement, int direction)