Make GetClosestPeep static

This commit is contained in:
ζeh Matt committed 2024-03-05 10:23:29 +02:00
1 parent afe266e2fe
commit 87dd29f3bc
1 file changed
+1 -1
@@ -718,7 +718,7 @@ struct PeepDistance
};
template<typename T>
PeepDistance GetClosestPeep(const ScreenCoordsXY& viewportCoords, const int32_t maxDistance, PeepDistance goal)
static PeepDistance GetClosestPeep(const ScreenCoordsXY& viewportCoords, const int32_t maxDistance, PeepDistance goal)
{
for (auto peep : EntityList<T>())
{