Increase view radius, remove radius parameter from get_tangibles_near

This commit is contained in:
2026-06-08 14:58:44 -04:00
parent 536abb2231
commit fa7dcdcb0d
7 changed files with 14 additions and 14 deletions

View File

@@ -75,7 +75,7 @@ void ALuprexGameModeBase::UpdateConsoleOutput() {
}
void ALuprexGameModeBase::UpdateTangibles() {
double radius = 1000.0; // Hardwired for now.
double radius = 100000.0; // Hardwired for now.
using TanArray = UlxTangibleManager::TanArray;
if (!Playing) return;
UlxTangibleManager *TM = GetGameInstance()->GetSubsystem<UlxTangibleManager>();
@@ -83,7 +83,7 @@ void ALuprexGameModeBase::UpdateTangibles() {
{
FlxLockedWrapper w;
PlayerId = w.GetActor();
IdView nearids = w.GetNear(PlayerId, radius, radius, radius);
IdView nearids = w.GetNear(PlayerId);
TM->UpdateNearAccordingToLuprex(nearids);
alltans = TM->GetAllTangibles();
IdArray allids = TM->GetIds(alltans);