mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 05:07:43 +00:00
Massive fmtlib refactor
This commit is contained in:
@@ -94,7 +94,7 @@ void CHudEnergyInterface::Update(float dt, float energyLowPulse) {
|
||||
x1c_26_barDirty = false;
|
||||
x18_cachedBarEnergy = x2c_energybart01_energybar->GetFilledEnergy();
|
||||
std::string string =
|
||||
hecl::Format("%02d", int(std::fmod(x18_cachedBarEnergy, CPlayerState::GetEnergyTankCapacity())));
|
||||
fmt::format(fmt("{:02d}"), int(std::fmod(x18_cachedBarEnergy, CPlayerState::GetEnergyTankCapacity())));
|
||||
x20_textpane_energydigits->TextSupport().SetText(string);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user