forked from rosebudai/OpenRCT2-Web
Update members of FontStyle
This commit is contained in:
52 files changed
+140
-140
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user