mirror of https://github.com/AxioDL/metaforce.git
CPathFindSearch: Initialize xcc_result in constructor
Provides a deterministic initial state upon construction.
This commit is contained in:
parent
9f21f8ef55
commit
a554e5d4a6
|
@ -27,7 +27,7 @@ private:
|
||||||
CPFArea* x0_area;
|
CPFArea* x0_area;
|
||||||
rstl::reserved_vector<zeus::CVector3f, 16> x4_waypoints;
|
rstl::reserved_vector<zeus::CVector3f, 16> x4_waypoints;
|
||||||
u32 xc8_curWaypoint = 0;
|
u32 xc8_curWaypoint = 0;
|
||||||
EResult xcc_result;
|
EResult xcc_result{};
|
||||||
float xd0_chHeight;
|
float xd0_chHeight;
|
||||||
float xd4_chRadius;
|
float xd4_chRadius;
|
||||||
float xd8_padding = 10.f;
|
float xd8_padding = 10.f;
|
||||||
|
|
Loading…
Reference in New Issue