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

Function zNPCMgr_Shutdown

src/SB/Game/zNPCMgr.cpp:380–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

378}
379
380void zNPCMgr_Shutdown()
381{
382 g_modinit--;
383 if (g_modinit == 0)
384 {
385 zNPCMgr* mgr = zNPCMgrSelf();
386 if (mgr != NULL)
387 {
388 mgr->Shutdown();
389 delete mgr;
390 g_npcmgr = NULL;
391 }
392 zNPCMgr_Shutdown();
393 xBehaveMgr_Shutdown();
394 }
395}
396
397void zNPCMgr_scenePrepare(S32 npccnt)
398{

Callers 1

mainFunction · 0.85

Calls 3

zNPCMgrSelfFunction · 0.85
xBehaveMgr_ShutdownFunction · 0.85
ShutdownMethod · 0.80

Tested by

no test coverage detected