aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rwxr-xr-xengines/pegasus/movie.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/pegasus/movie.cpp b/engines/pegasus/movie.cpp
index 8f79c03957..ba8f47d6ef 100755
--- a/engines/pegasus/movie.cpp
+++ b/engines/pegasus/movie.cpp
@@ -78,7 +78,7 @@ void Movie::setDirectDraw(const bool flag) {
}
void Movie::redrawMovieWorld() {
- if (_video && _video->needsUpdate()) {
+ if (_video) {
const Graphics::Surface *frame = _video->decodeNextFrame();
if (_directDraw) {
@@ -154,7 +154,11 @@ void Movie::resume() {
void Movie::checkCallBacks() {
TimeBase::checkCallBacks();
- redrawMovieWorld();
+
+ // The reason why we overrode TimeBase's checkCallBacks():
+ // Again, avoiding timers and handling it here
+ if (_video->needsUpdate())
+ redrawMovieWorld();
}
} // End of namespace Pegasus