Make GetClosestPeep static

This commit is contained in:
ζeh Matt 2024-02-18 14:43:58 +02:00
parent afe266e2fe
commit 87dd29f3bc
No known key found for this signature in database
GPG key ID: 18CE582C71A225B0

View file

@ -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>())
{