mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 01:47:43 +00:00
General: Make use of explicit constructors where applicable
Gets rid of potential error prone implicitly constructing constructors.
This commit is contained in:
@@ -20,7 +20,7 @@ class CHudBossEnergyInterface {
|
||||
CGuiTextPane* x1c_textpane_boss;
|
||||
|
||||
public:
|
||||
CHudBossEnergyInterface(CGuiFrame& selHud);
|
||||
explicit CHudBossEnergyInterface(CGuiFrame& selHud);
|
||||
void Update(float dt);
|
||||
void SetAlpha(float a) { x0_alpha = a; }
|
||||
void SetBossParams(bool visible, std::u16string_view name, float curEnergy, float maxEnergy);
|
||||
|
||||
Reference in New Issue
Block a user