1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 15:52:55 +01:00

Use constant instead of hardcoded number

This commit is contained in:
Gymnasiast
2025-10-16 11:40:30 +02:00
parent 3ef7c2d9e8
commit 0659350577

View File

@@ -572,7 +572,7 @@ namespace OpenRCT2::Ui::Windows
{
News::IsValidIndex(_pressedNewsItemIndex + News::ItemHistoryStart);
if (i == _pressedNewsItemIndex && _pressedButtonIndex == 2)
press = 0x20;
press = INSET_RECT_FLAG_BORDER_INSET;
}
GfxFillRectInset(rt, { screenCoords, screenCoords + ScreenCoordsXY{ 23, 23 } }, colours[2], press);
GfxDrawSprite(rt, ImageId(SPR_LOCATE), screenCoords);