Fix bug where "Play current line" would not stop at the end of the line if video was already playing

Originally committed to SVN as r6353.
This commit is contained in:
Thomas Goyne 2012-01-25 00:40:21 +00:00
parent a24f1692be
commit bce29f5a9a

View file

@ -360,6 +360,8 @@ void VideoContext::Play() {
} }
void VideoContext::PlayLine() { void VideoContext::PlayLine() {
Stop();
AssDialogue *curline = context->selectionController->GetActiveLine(); AssDialogue *curline = context->selectionController->GetActiveLine();
if (!curline) return; if (!curline) return;