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

Function FootpathQueueChainPush

src/openrct2/world/Footpath.cpp:932–942  ·  view source on GitHub ↗

* * rct2: 0x006A76E9 */

Source from the content-addressed store, hash-verified

930 * rct2: 0x006A76E9
931 */
932 void FootpathQueueChainPush(RideId rideIndex)
933 {
934 if (!rideIndex.IsNull())
935 {
936 auto* lastSlot = _footpathQueueChain + std::size(_footpathQueueChain) - 1;
937 if (_footpathQueueChainNext <= lastSlot)
938 {
939 *_footpathQueueChainNext++ = rideIndex;
940 }
941 }
942 }
943
944 /**
945 *

Callers 4

Loc6A6F1FFunction · 0.85
Loc6A6D7EFunction · 0.85

Calls 1

IsNullMethod · 0.45

Tested by

no test coverage detected