Skip to content

Commit

Permalink
-forgot to save this...
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Aug 6, 2022
1 parent fddb4d2 commit 10b9d41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/core/updatesector.h
Expand Up @@ -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;
Expand Down

0 comments on commit 10b9d41

Please sign in to comment.