2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-06-23 19:13:27 +00:00

COBBTree: Always initialize x4c_hit

Same behavior, but provides deterministic state on construction, which
can make debugging much nicer.
This commit is contained in:
Lioncash 2020-04-06 01:05:26 -04:00
parent c6952442c7
commit 248a4e57c9

View File

@ -45,7 +45,7 @@ public:
std::unique_ptr<CNode> x40_left;
std::unique_ptr<CNode> x44_right;
std::unique_ptr<CLeafData> x48_leaf;
bool x4c_hit;
bool x4c_hit = false;
public:
CNode() = default;