mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-23 10:51:58 -05:00
Make GetClosestPeep static
This commit is contained in:
parent
afe266e2fe
commit
87dd29f3bc
1 changed files with 1 additions and 1 deletions
|
@ -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>())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue