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

Method ASTUnmolestAnim

src/SB/Game/zNPCGoalStd.cpp:1204–1218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1202}
1203
1204void zNPCGoalDEVAnimSpin::ASTUnmolestAnim()
1205{
1206 zNPCCommon* npc = (zNPCCommon*)psyche->clt_owner;
1207
1208 if (animWeMolested == 0)
1209 {
1210 return;
1211 }
1212
1213 xAnimState* state = npc->AnimFindState(animWeMolested);
1214 state->Flags = origAnimFlags;
1215
1216 animWeMolested = 0;
1217 origAnimFlags = 0;
1218}
1219
1220S32 zNPCGoalDEVHero::Enter(F32 dt, void* updCtxt)
1221{

Callers

nothing calls this directly

Calls 1

AnimFindStateMethod · 0.80

Tested by

no test coverage detected