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

Method UnmolestAnim

src/SB/Game/zNPCGoalStd.cpp:247–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247void zNPCGoalLoopAnim::UnmolestAnim()
248{
249 zNPCCommon* npc = (zNPCCommon*)psyche->clt_owner;
250
251 if (animWeMolested == 0)
252 {
253 return;
254 }
255
256 xAnimState* state = npc->AnimFindState(animWeMolested);
257 state->Flags = origAnimFlags;
258
259 animWeMolested = 0;
260 origAnimFlags = 0;
261}
262
263void zNPCGoalLoopAnim::LoopCountSet(S32 num)
264{

Callers

nothing calls this directly

Calls 1

AnimFindStateMethod · 0.80

Tested by

no test coverage detected