CPathFindSearch: Initialize xcc_result in constructor

Provides a deterministic initial state upon construction.
This commit is contained in:
Lioncash 2020-04-13 16:29:09 -04:00
parent 9f21f8ef55
commit a554e5d4a6
1 changed files with 1 additions and 1 deletions

View File

@ -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;