aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2012-11-17 21:13:10 +1100
committerPaul Gilbert2012-11-17 21:13:10 +1100
commit928b1ae0d02daee9362f111d51ae81f0fc3b86f8 (patch)
treec1d3ab6679ebf953d28702f6d22b7fe5022b176c
parent0fdea57c544c8c1bd1c816262d9319367334eb83 (diff)
downloadscummvm-rg350-928b1ae0d02daee9362f111d51ae81f0fc3b86f8.tar.gz
scummvm-rg350-928b1ae0d02daee9362f111d51ae81f0fc3b86f8.tar.bz2
scummvm-rg350-928b1ae0d02daee9362f111d51ae81f0fc3b86f8.zip
HOPKINS: Bugfix for CHARGE_BANK_SPRITE1
-rw-r--r--engines/hopkins/anim.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hopkins/anim.cpp b/engines/hopkins/anim.cpp
index 5209ca39ef..0953cd9f50 100644
--- a/engines/hopkins/anim.cpp
+++ b/engines/hopkins/anim.cpp
@@ -792,7 +792,7 @@ int AnimationManager::CHARGE_BANK_SPRITE1(int idx, const Common::String &filenam
if (*(v3 + 1) == 'L' && *(v3 + 2) == 'E')
_vm->_globals.Bank[idx].fileHeader = 1;
if (*(v3 + 1) == 'O' && *(v3 + 2) == 'R')
- _vm->_globals.Bank[184].fileHeader = 2;
+ _vm->_globals.Bank[idx].fileHeader = 2;
if (_vm->_globals.Bank[idx].fileHeader) {
_vm->_globals.Bank[idx].data = v3;