Skip to content

Commit

Permalink
PEGASUS: Fix some movie bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Hoops committed Sep 20, 2011
1 parent e21224f commit 2dbf379
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions engines/pegasus/movie.cpp
Expand Up @@ -91,6 +91,8 @@ void Movie::redrawMovieWorld() {
// Just copy to our surface
_surface->copyFrom(*frame);
}

triggerRedraw();
}
}

Expand Down Expand Up @@ -125,6 +127,8 @@ TimeValue Movie::getTime(const TimeScale scale) {
void Movie::setRate(const Common::Rational rate) {
if (rate != 1 && rate != 0)
error("Cannot set movie rate");

TimeBase::setRate(rate);
}

void Movie::start() {
Expand Down

0 comments on commit 2dbf379

Please sign in to comment.