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

Method Enter

src/SB/Game/zNPCGoalCommon.cpp:17–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15#pragma pop
16
17S32 zNPCGoalCommon::Enter(F32 dt, void* updCtxt)
18{
19 S32 gid = psyche->GIDOfPending();
20
21 if (((flg_npcgauto & 0x2) && gid == 0) || gid == GetID())
22 {
23 DoAutoAnim(NPC_GSPOT_START, 0);
24 }
25
26 return xGoal::Enter(dt, updCtxt);
27}
28
29S32 zNPCGoalCommon::Resume(F32 dt, void* updCtxt)
30{

Callers 1

hack_function_orderFunction · 0.45

Calls 3

DoAutoAnimFunction · 0.85
GIDOfPendingMethod · 0.80
EnterFunction · 0.50

Tested by

no test coverage detected