We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b0bdc1 commit 73f06b5Copy full SHA for 73f06b5
Engine/ac/global_audio.cpp
@@ -448,7 +448,7 @@ extern ScriptAudioChannel scrAudioChannel[MAX_GAME_CHANNELS];
448
449
ScriptAudioChannel *PlayVoiceClip(CharacterInfo *ch, int sndid, bool as_speech)
450
{
451
- if (!play_voice_nonblocking(ch->index_id, sndid, as_speech))
+ if (!play_voice_nonblocking(ch ? ch->index_id : -1 /* narrator */, sndid, as_speech))
452
return NULL;
453
return &scrAudioChannel[SCHAN_SPEECH];
454
}
0 commit comments