2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:07:42 +00:00

CKnockBackController: Simplify initialization of x24_ in constructor

Same behavior, less code.
This commit is contained in:
Lioncash
2020-04-17 13:17:01 -04:00
parent 26ac3b166d
commit 5491f3ff23
2 changed files with 2 additions and 5 deletions

View File

@@ -85,7 +85,7 @@ private:
u32 x70_ = 0;
u32 x74_ = 0;
pas::ESeverity x7c_severity = pas::ESeverity::One;
std::bitset<5> x80_availableStates;
std::bitset<5> x80_availableStates{0b11111};
bool x81_24_autoResetImpulse : 1; // t
bool x81_25_enableFreeze : 1; // t
bool x81_26_enableShock : 1;