1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 13:03:11 +01:00

Fix #2189. Map owned area not shown correctly.

Issue was caused by doubling up a bit of code and combining it with the next line when implementing it.
This commit is contained in:
duncanspumpkin
2015-11-03 18:19:23 +00:00
parent 9bf40ffd83
commit d5688cdc4e

View File

@@ -1546,9 +1546,6 @@ static uint16 map_window_get_pixel_colour_peep(int x, int y)
if (!(mapElement->properties.surface.ownership & OWNERSHIP_OWNED))
colour = 10 | (colour & 0xFF00);
if (!(mapElement->flags & (1 << 5)))
colour = 10 | (colour & 0xFF00);
while (!map_element_is_last_for_tile(mapElement++)) {
int mapElementType = map_element_get_type(mapElement);
colour &= ElementTypeMaskColour[mapElementType >> 2];