2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-15 06:06:10 +00:00

Update fmtlib

This commit is contained in:
Jack Andersen
2020-04-11 12:51:39 -10:00
parent 7055b6983f
commit 5b4441ac36
156 changed files with 786 additions and 777 deletions

View File

@@ -88,7 +88,7 @@ void CHudThreatInterface::Update(float dt) {
if (x70_textpane_threatdigits) {
if (x10_threatDist < maxThreatEnergy) {
x70_textpane_threatdigits->SetIsVisible(true);
x70_textpane_threatdigits->TextSupport().SetText(fmt::format(fmt("{:01.1f}"), std::max(0.f, x10_threatDist)));
x70_textpane_threatdigits->TextSupport().SetText(fmt::format(FMT_STRING("{:01.1f}"), std::max(0.f, x10_threatDist)));
} else {
x70_textpane_threatdigits->SetIsVisible(false);
}