MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / ClearActive

Method ClearActive

src/SB/Game/zNPCSpawner.cpp:569–580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

567}
568
569void zNPCSpawner::ClearActive()
570{
571 for (S32 i = 0; i < actvlist.cnt; i++)
572 {
573 if (pendlist.list[i] != NULL)
574 {
575 ((st_XORDEREDARRAY*)pendlist.list[i])->cnt = 1;
576 }
577 }
578
579 XOrdReset(&actvlist);
580}
581
582void zNPCSpawner::ClearPending()
583{

Callers 1

ResetMethod · 0.95

Calls 1

XOrdResetFunction · 0.85

Tested by

no test coverage detected