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

Method DoExplicitAnim

src/SB/Game/zNPCGoalCommon.cpp:80–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80U32 zNPCGoalCommon::DoExplicitAnim(U32 anid, S32 forceRestart)
81{
82 S32 rc = ((zNPCCommon*)psyche->clt_owner)->AnimStart(anid, forceRestart);
83
84 if (rc)
85 {
86 anid_played = anid;
87 }
88 else
89 {
90 Name();
91
92 anid_played = 0;
93 }
94
95 if (flg_npcgauto & 0x8)
96 {
97 flg_info &= ~0x8;
98 }
99
100 return anid_played;
101}

Callers

nothing calls this directly

Calls 1

AnimStartMethod · 0.80

Tested by

no test coverage detected