aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2013-12-16 22:21:41 -0500
committerPaul Gilbert2013-12-16 22:21:41 -0500
commit2346671e7c9d8034d79e72549e3e468deadefdbd (patch)
tree8dddc8126a8a444eabf10eb1d93938a42418ef0c
parent5dde350ba085e0d22001614f354bd3718490bffe (diff)
downloadscummvm-rg350-2346671e7c9d8034d79e72549e3e468deadefdbd.tar.gz
scummvm-rg350-2346671e7c9d8034d79e72549e3e468deadefdbd.tar.bz2
scummvm-rg350-2346671e7c9d8034d79e72549e3e468deadefdbd.zip
VOYEUR: Resource fix in doAptAnim
-rw-r--r--engines/voyeur/files_threads.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/voyeur/files_threads.cpp b/engines/voyeur/files_threads.cpp
index 3411d7e064..903ff4fbbe 100644
--- a/engines/voyeur/files_threads.cpp
+++ b/engines/voyeur/files_threads.cpp
@@ -1573,7 +1573,7 @@ void ThreadResource::doAptAnim(int mode) {
pal->_steps = 1;
for (int idx = 0; (idx < 6) && !_vm->shouldQuit(); ++idx) {
- PictureResource *pic = _vm->_bVoy->boltEntry(id + idx)._picResource;
+ PictureResource *pic = _vm->_bVoy->boltEntry(id + idx + 1)._picResource;
(*_vm->_graphicsManager._vPort)->setupViewPort(pic);
(*_vm->_graphicsManager._vPort)->_flags |= 8;