Reset prompt buffer position to zero once VP had finished speaking so that another play would replay the buffer
This commit is contained in:
parent
99408a5455
commit
1383e3d61e
|
|
@ -482,7 +482,10 @@ void vp_tick()
|
||||||
|
|
||||||
// see if we've finished.
|
// see if we've finished.
|
||||||
if(vpCurrentSequence.pos == vpCurrentSequence.length)
|
if(vpCurrentSequence.pos == vpCurrentSequence.length)
|
||||||
voicePromptActive = false;
|
{
|
||||||
|
voicePromptActive = false;
|
||||||
|
vpCurrentSequence.pos = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool vp_isPlaying()
|
bool vp_isPlaying()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue