mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-28 17:24:47 +01:00
Close #14903. Use map_is_edge
This commit is contained in:
committed by
Gymnasiast
parent
517935e580
commit
ae6657dcdc
@@ -1579,7 +1579,7 @@ static void map_window_set_pixels(rct_window* w)
|
||||
|
||||
for (int32_t i = 0; i < MAXIMUM_MAP_SIZE_TECHNICAL; i++)
|
||||
{
|
||||
if (x > 0 && y > 0 && x < gMapSizeUnits && y < gMapSizeUnits)
|
||||
if (!map_is_edge({ x, y }))
|
||||
{
|
||||
switch (w->selected_tab)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user