Reset prompt buffer position to zero once VP had finished speaking so that another play would replay the buffer

md1702
Silvano Seva 2022-08-27 17:27:04 +02:00
rodzic 99408a5455
commit 1383e3d61e
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -482,7 +482,10 @@ void vp_tick()
// see if we've finished.
if(vpCurrentSequence.pos == vpCurrentSequence.length)
voicePromptActive = false;
{
voicePromptActive = false;
vpCurrentSequence.pos = 0;
}
}
bool vp_isPlaying()