mirror of https://github.com/AxioDL/metaforce.git
CFireFlea: Correct CPathFindSearch flags
This commit is contained in:
parent
61577b16d2
commit
bc3b6ff274
|
@ -60,7 +60,7 @@ CFireFlea::CFireFlea(TUniqueId uid, std::string_view name, const CEntityInfo& in
|
||||||
: CPatterned(ECharacter::FireFlea, uid, name, EFlavorType::Zero, info, xf, std::move(mData), pInfo,
|
: CPatterned(ECharacter::FireFlea, uid, name, EFlavorType::Zero, info, xf, std::move(mData), pInfo,
|
||||||
EMovementType::Flyer, EColliderType::One, EBodyType::Flyer, actParms, EKnockBackVariant::Small)
|
EMovementType::Flyer, EColliderType::One, EBodyType::Flyer, actParms, EKnockBackVariant::Small)
|
||||||
, x56c_(f1)
|
, x56c_(f1)
|
||||||
, xd8c_pathFind(nullptr, 2, pInfo.GetPathfindingIndex(), 1.f, 1.f) {
|
, xd8c_pathFind(nullptr, 3, pInfo.GetPathfindingIndex(), 1.f, 1.f) {
|
||||||
CMaterialFilter filter = GetMaterialFilter();
|
CMaterialFilter filter = GetMaterialFilter();
|
||||||
filter.ExcludeList().Add(EMaterialTypes::Character);
|
filter.ExcludeList().Add(EMaterialTypes::Character);
|
||||||
SetMaterialFilter(filter);
|
SetMaterialFilter(filter);
|
||||||
|
@ -211,4 +211,4 @@ void CFireFlea::Flee(CStateManager& mgr, EStateMsg msg, float) {
|
||||||
x450_bodyController->SetLocomotionType(pas::ELocomotionType::Relaxed);
|
x450_bodyController->SetLocomotionType(pas::ELocomotionType::Relaxed);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} // namespace urde::MP1
|
} // namespace urde::MP1
|
||||||
|
|
Loading…
Reference in New Issue