mirror of https://github.com/AxioDL/metaforce.git
Merge branch 'pr-148'
This commit is contained in:
commit
61f9adfa70
|
@ -85,7 +85,7 @@ void CFireFlea::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateM
|
|||
x450_bodyController->Activate(mgr);
|
||||
} else if (msg == EScriptObjectMessage::InitializedInArea) {
|
||||
xd8c_pathFind.SetArea(mgr.GetWorld()->GetAreaAlways(GetAreaIdAlways())->GetPostConstructed()->x10bc_pathArea);
|
||||
xe64_ = 50.f;
|
||||
xd8c_pathFind.SetPadding(50.0f);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -30,7 +30,6 @@ class CFireFlea : public CPatterned {
|
|||
float x568_ = 1.f;
|
||||
float x56c_;
|
||||
rstl::reserved_vector<TUniqueId, 1024> x570_nearList;
|
||||
float xe64_;
|
||||
zeus::CVector3f xd74_;
|
||||
zeus::CVector3f xd80_targetPos;
|
||||
CPathFindSearch xd8c_pathFind;
|
||||
|
|
|
@ -56,6 +56,7 @@ public:
|
|||
void SetArea(CPFArea* area) { x0_area = area; }
|
||||
float GetCharacterHeight() const { return xd0_chHeight; }
|
||||
void SetCharacterHeight(float h) { xd0_chHeight = h; }
|
||||
void SetPadding(float padding) { xd8_padding = padding; }
|
||||
float RemainingPathDistance(const zeus::CVector3f& pos) const;
|
||||
void DebugDraw() const;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue