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

Method Resume

src/SB/Game/zNPCGoalCommon.cpp:29–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29S32 zNPCGoalCommon::Resume(F32 dt, void* updCtxt)
30{
31 S32 gid = psyche->GIDOfPending();
32
33 if (((flg_npcgauto & 0x2) && (flg_npcgauto & 0x4) && gid == 0) || gid == GetID())
34 {
35 DoAutoAnim(NPC_GSPOT_RESUME, 0);
36 }
37
38 return xGoal::Resume(dt, updCtxt);
39}
40
41S32 zNPCGoalCommon::PreCalc(F32 dt, void* updCtxt)
42{

Callers 1

hack_function_orderFunction · 0.45

Calls 3

DoAutoAnimFunction · 0.85
GIDOfPendingMethod · 0.80
ResumeFunction · 0.50

Tested by

no test coverage detected