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

Function zCutsceneMgrReset

src/SB/Game/zCutsceneMgr.cpp:118–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118void zCutsceneMgrReset(zCutsceneMgr* mgr)
119{
120 xBaseReset(mgr, mgr->tasset);
121 if (mgr->csn != NULL)
122 {
123 xCutscene_Destroy(mgr->csn);
124 }
125 mgr->csn = NULL;
126 zEntPlayerControlOn(CONTROL_OWNER_CUTSCENE);
127 ents_hidden = 0;
128}
129
130void zCutsceneMgrSave(zCutsceneMgr*, xSerial* s)
131{

Callers 1

zCutsceneMgrEventCBFunction · 0.85

Calls 3

xBaseResetFunction · 0.85
zEntPlayerControlOnFunction · 0.70
xCutscene_DestroyFunction · 0.50

Tested by

no test coverage detected