diff options
Diffstat (limited to 'engines/sword1')
| -rw-r--r-- | engines/sword1/animation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword1/animation.cpp b/engines/sword1/animation.cpp index 441e622184..8df1812098 100644 --- a/engines/sword1/animation.cpp +++ b/engines/sword1/animation.cpp @@ -252,7 +252,7 @@ bool MoviePlayer::playVideo() { while (!_vm->shouldQuit() && !_decoder->endOfVideo()) { if (_decoder->needsUpdate()) { - Graphics::Surface *frame = _decoder->decodeNextFrame(); + const Graphics::Surface *frame = _decoder->decodeNextFrame(); if (frame) _vm->_system->copyRectToScreen((byte *)frame->pixels, frame->pitch, x, y, frame->w, frame->h); |
