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

CPlayerEnergyDrain: Make constructor explicit

Prevents error-prone implicit constructions from occurring.
This commit is contained in:
Lioncash
2020-03-12 10:01:28 -04:00
parent e628cbf1be
commit d51518dc57
3 changed files with 3 additions and 3 deletions

View File

@@ -138,7 +138,7 @@ private:
std::vector<CToken> x25c_ballTransitionsRes;
TUniqueId x26c_attachedActor = kInvalidUniqueId;
float x270_attachedActorTime = 0.f;
CPlayerEnergyDrain x274_energyDrain = CPlayerEnergyDrain(4);
CPlayerEnergyDrain x274_energyDrain{4};
float x288_startingJumpTimeout = 0.f;
float x28c_sjTimer = 0.f;
float x290_minJumpTimeout = 0.f;