1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

Merge pull request #3104 from Wirlie/develop

Fixes #3100
This commit is contained in:
Ted John
2016-03-07 17:28:02 +00:00

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)