mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-20 19:39:12 +00:00
De-hardcode max entity count
This commit is contained in:
@@ -569,7 +569,7 @@ void CMetroidPrimeEssence::sub8027d824(CStateManager& mgr) {
|
||||
}
|
||||
|
||||
bool CMetroidPrimeEssence::sub8027e870(const zeus::CTransform& xf, CStateManager& mgr) {
|
||||
rstl::reserved_vector<TUniqueId, 1024> nearList;
|
||||
rstl::reserved_vector<TUniqueId, kMaxEntities> nearList;
|
||||
mgr.BuildNearList(nearList, {xf.origin - 2.f, xf.origin + 2.f}, CMaterialFilter::MakeInclude(EMaterialTypes::AIBlock),
|
||||
this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user