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).
This commit is contained in:
Josue Acevedo 2016-03-07 10:18:53 -06:00
parent 25e536bb1c
commit 21c55fda03
1 changed files with 1 additions and 2 deletions

View File

@ -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)