mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 19:44:55 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user