1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Fix weather gloom

This commit is contained in:
Michael Bernardi
2024-09-22 17:15:27 +10:00
parent 8875c75461
commit cea971790f

View File

@@ -1095,9 +1095,9 @@ static void ViewportPaintWeatherGloom(DrawPixelInfo& dpi)
if (paletteId != FilterPaletteID::PaletteNull)
{
auto x = dpi.ScreenX();
auto y = dpi.ScreenX();
auto w = dpi.ScreenWidth() - 1;
auto h = dpi.ScreenHeight() - 1;
auto y = dpi.ScreenY();
auto w = dpi.ScreenWidth();
auto h = dpi.ScreenHeight();
GfxFilterRect(dpi, ScreenRect(x, y, x + w, y + h), paletteId);
}
}