mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-11 02:27:43 +00:00
Use EntityList instead of `rstl::resverved_vector<TUniqueId, 1024>' directly
This commit is contained in:
@@ -533,7 +533,7 @@ void CSamusHud::UpdateThreatAssessment(float dt, const CStateManager& mgr) {
|
||||
zeus::CAABox aabb;
|
||||
aabb.accumulateBounds(player.GetTranslation() - g_tweakGui->GetThreatRange());
|
||||
aabb.accumulateBounds(player.GetTranslation() + g_tweakGui->GetThreatRange());
|
||||
rstl::reserved_vector<TUniqueId, kMaxEntities> nearList;
|
||||
EntityList nearList;
|
||||
mgr.BuildNearList(nearList, aabb, filter, nullptr);
|
||||
|
||||
float threatDist = 9999.f;
|
||||
|
||||
Reference in New Issue
Block a user