Increase view radius, remove radius parameter from get_tangibles_near
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user