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
1 changed files with 2 additions and 0 deletions

View File

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