Don't refresh viewports when changing smallmap height mode

This commit is contained in:
Jonathan G Rennison
2023-07-01 17:22:46 +01:00
parent d2e29b33d1
commit 1ad82c200a

View File

@@ -1514,7 +1514,6 @@ int SmallMapWindow::GetPositionOnLegend(Point pt)
case WID_SM_SHOW_HEIGHT: // Enable/disable showing of heightmap.
_smallmap_show_heightmap = !_smallmap_show_heightmap;
this->SetWidgetLoweredState(WID_SM_SHOW_HEIGHT, _smallmap_show_heightmap);
NotifyAllViewports(VPMT_INDUSTRY);
this->SetDirty();
break;