mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 05:47:42 +00:00
RuntimeCommonB: Make use of bitfield initializers where applicable
Given that we now target C++20, we can make use of bitfield initializers where applicable.
This commit is contained in:
@@ -28,9 +28,6 @@ CHudEnergyInterface::CHudEnergyInterface(CGuiFrame& selHud, float tankEnergy, in
|
||||
, xc_tankEnergy(tankEnergy)
|
||||
, x10_totalEnergyTanks(totalEnergyTanks)
|
||||
, x14_numTanksFilled(numTanksFilled)
|
||||
, x1c_24_(true)
|
||||
, x1c_25_(true)
|
||||
, x1c_26_barDirty(true)
|
||||
, x1c_27_energyLow(energyLow) {
|
||||
x20_textpane_energydigits = static_cast<CGuiTextPane*>(selHud.FindWidget("textpane_energydigits"));
|
||||
x24_meter_energytanks = static_cast<CAuiMeter*>(selHud.FindWidget("meter_energytanks"));
|
||||
|
||||
Reference in New Issue
Block a user