mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-04 13:42:55 +01:00
fix #1658
This commit is contained in:
@@ -162,7 +162,7 @@ static uint8 peep_assess_surroundings(sint16 center_x, sint16 center_y, sint16 c
|
||||
if ((mapElement->properties.path.additions & 0xF) == 0)
|
||||
break;
|
||||
|
||||
scenery = g_pathBitSceneryEntries[mapElement->properties.path.additions - 1];
|
||||
scenery = g_pathBitSceneryEntries[(mapElement->properties.path.additions & 0x0F) - 1];
|
||||
if (mapElement->properties.path.additions & (1 << 7))
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user