diff options
| -rwxr-xr-x | engines/pegasus/movie.cpp | 10 | 
1 files changed, 8 insertions, 2 deletions
| diff --git a/engines/pegasus/movie.cpp b/engines/pegasus/movie.cpp index fa0cb95dff..bd81f375a4 100755 --- a/engines/pegasus/movie.cpp +++ b/engines/pegasus/movie.cpp @@ -192,8 +192,14 @@ void Movie::checkCallBacks() {  		// Stop the video when we go past our end  		// TODO: Check if this should really be -1 -		if (actualTime >= stopTime - 1) -			stop(); +		if (actualTime >= stopTime - 1) { +			// HACK: Handle looping here as well +			// Should be handled like the rest of TimeBases +			if (getFlags() & kLoopTimeBase) +				setTime(_startTime, _startScale); +			else +				stop(); +		}  	}  } | 
