-forgot to save this...

This commit is contained in:
Christoph Oelckers 2022-08-06 09:15:47 +02:00
parent fddb4d2330
commit 10b9d41d57

View file

@ -42,7 +42,7 @@ void DoUpdateSector(double x, double y, double z, int* sectnum, double maxDistan
{
double maxDistSq = maxDistance * maxDistance;
if (validSectorIndex(sectnum))
if (validSectorIndex(*sectnum))
{
if (checker(x, y, z, &sector[*sectnum]))
return;