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

Method StartSFX

src/SB/Game/zNPCGoalVillager.cpp:589–598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

587}
588
589void zNPCGoalTalk::StartSFX(xSFX* sfx)
590{
591 zNPCVillager* npc = (zNPCVillager*)psyche->clt_owner;
592
593 U32 sid = 0;
594 if (sfx != NULL && sfx_curTalk != NULL)
595 {
596 npc->SndPlayFromSFX(sfx, &sid);
597 }
598}
599
600S32 zNPCGoalSpeak::Enter(F32 dt, void* updCtxt)
601{

Callers

nothing calls this directly

Calls 1

SndPlayFromSFXMethod · 0.80

Tested by

no test coverage detected