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

Function speak_stop

src/SB/Game/zTalkBox.cpp:34–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 static F32 music_fade_delay = 0.5f;
33
34 void speak_stop()
35 {
36 if (shared.speak_npc != NULL)
37 {
38 shared.speak_npc->SpeakStop();
39 shared.speak_npc = NULL;
40 }
41
42 if (shared.speak_player != 0)
43 {
44 zEntPlayerSpeakStop();
45 shared.speak_player = 0;
46 }
47 }
48
49 static void trigger(U32 event)
50 {

Callers 2

trigger_soundFunction · 0.85
stopFunction · 0.85

Calls 2

zEntPlayerSpeakStopFunction · 0.85
SpeakStopMethod · 0.45

Tested by

no test coverage detected