MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / FootpathGetDefaultLegacyPath

Function FootpathGetDefaultLegacyPath

src/openrct2-ui/windows/Footpath.cpp:2188–2198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2186 }
2187
2188 static ObjectEntryIndex FootpathGetDefaultLegacyPath()
2189 {
2190 for (ObjectEntryIndex i = 0; i < kMaxPathObjects; i++)
2191 {
2192 if (FootpathIsLegacyPathEntryOkay(i))
2193 {
2194 return i;
2195 }
2196 }
2197 return kObjectEntryIndexNull;
2198 }
2199
2200 bool WindowFootpathSelectDefault()
2201 {

Callers 1

Calls 1

Tested by

no test coverage detected