From bb6c230587c65c92e1719809977e4625322dd2cb Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Thu, 20 Jan 2011 18:17:39 +0000 Subject: GOB: Implement looping live videos Needed for the buttons in the Playtoons series svn-id: r55359 --- engines/gob/inter_v6.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engines/gob/inter_v6.cpp') diff --git a/engines/gob/inter_v6.cpp b/engines/gob/inter_v6.cpp index 17008ce0d2..8916ee246a 100644 --- a/engines/gob/inter_v6.cpp +++ b/engines/gob/inter_v6.cpp @@ -153,8 +153,10 @@ void Inter_v6::o6_playVmdOrMusic() { } else if (props.lastFrame <= -10) { _vm->_vidPlayer->closeVideo(); - if (props.lastFrame <= -100) + if (props.lastFrame <= -100) { + props.loop = true; props.lastFrame += 100; + } if (((-props.lastFrame) % 10 == 3) && (props.lastFrame <= -20)) _vm->_sound->bgPlay(fileName, SOUND_WAV); -- cgit v1.2.3