MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / freeItems

Function freeItems

TheForceEngine/TFE_DarkForces/pickup.cpp:344–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342 }
343
344 void freeItems()
345 {
346 for (s32 i = s_listToFreeCnt - 1; i >= 0; i--)
347 {
348 pickup_cleanupFunc((Logic*)s_listToFree[i]);
349 }
350 s_listToFreeCnt = 0;
351 }
352
353 // The current pickup being processed is stored in Message::s_msgTarget
354 // The object "picking up" the item is stored in Message::s_msgEntity

Callers 1

pickTaskFuncFunction · 0.85

Calls 1

pickup_cleanupFuncFunction · 0.85

Tested by

no test coverage detected