aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Haisch2008-08-21 11:33:48 +0000
committerWillem Jan Palenstijn2011-11-20 22:43:06 +0100
commit3c326b5c40e0eb25f7d069fc809176874795b5a7 (patch)
tree108e6a699b1f781d7768cbf2194b14206ba55883
parentbbf882016afb3fc47e161f4c8fc95101b89ca407 (diff)
downloadscummvm-rg350-3c326b5c40e0eb25f7d069fc809176874795b5a7.tar.gz
scummvm-rg350-3c326b5c40e0eb25f7d069fc809176874795b5a7.tar.bz2
scummvm-rg350-3c326b5c40e0eb25f7d069fc809176874795b5a7.zip
TOLTECS: Fixed bug in anim frame displaying.
-rw-r--r--engines/toltecs/animation.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/toltecs/animation.cpp b/engines/toltecs/animation.cpp
index 5d601441f7..34a18489be 100644
--- a/engines/toltecs/animation.cpp
+++ b/engines/toltecs/animation.cpp
@@ -64,6 +64,9 @@ void AnimationPlayer::start(uint resIndex) {
_vm->_arc->closeResource();
debug(1, "AnimationPlayer::start() width = %d; height = %d; frameCount = %d", _width, _height, _frameCount);
+
+ _vm->_sceneWidth = _width;
+ _vm->_sceneHeight = _height;
unpackFrame();