From d5688cdc4e9f5b163a8a22a9d9bfe9b55f54fe9a Mon Sep 17 00:00:00 2001 From: duncanspumpkin Date: Tue, 3 Nov 2015 18:19:23 +0000 Subject: [PATCH] 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. --- src/windows/map.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/windows/map.c b/src/windows/map.c index 22179e1b98..163604d879 100644 --- a/src/windows/map.c +++ b/src/windows/map.c @@ -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];