Update members of FontStyle

This commit is contained in:
Gymnasiast committed 2025-11-03 23:25:30 +01:00
1 parent 124352c922
commit 0ec4e3353b
52 files changed
+140 -140

No files matched your search

+1 -1
View File
@@ -108,7 +108,7 @@ void MoneyEffect::SetValue(money64 value)
auto [stringId, newValue] = GetStringId();
char buffer[128];
OpenRCT2::FormatStringLegacy(buffer, 128, stringId, &newValue);
offsetX = -(GfxGetStringWidth(buffer, FontStyle::Medium) / 2);
offsetX = -(GfxGetStringWidth(buffer, FontStyle::medium) / 2);
}
OffsetX = offsetX;
Wiggle = 0;