mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 23:07:42 +00:00
De-hardcode max entity count
This commit is contained in:
@@ -128,7 +128,7 @@ void CHudRadarInterface::Draw(const CStateManager& mgr, float alpha) {
|
||||
player.GetTranslation().z() - drawParms.x7c_zRadius, player.GetTranslation().x() + drawParms.x78_xyRadius,
|
||||
player.GetTranslation().y() + drawParms.x78_xyRadius, player.GetTranslation().z() + drawParms.x7c_zRadius);
|
||||
|
||||
rstl::reserved_vector<TUniqueId, 1024> nearList;
|
||||
rstl::reserved_vector<TUniqueId, kMaxEntities> nearList;
|
||||
mgr.BuildNearList(nearList, radarBounds,
|
||||
CMaterialFilter(CMaterialList(EMaterialTypes::Target, EMaterialTypes::RadarObject),
|
||||
CMaterialList(EMaterialTypes::ExcludeFromRadar),
|
||||
|
||||
Reference in New Issue
Block a user