diff options
author | Max Horn | 2004-08-01 01:19:54 +0000 |
---|---|---|
committer | Max Horn | 2004-08-01 01:19:54 +0000 |
commit | 98ea92322b39371394f2ad098f370a074b6a9ec9 (patch) | |
tree | e8df3e2159a594af031badb2b6783bc3877e3c59 /scumm | |
parent | f1cfbe9065bece88d167af9e9dc33c007cd53616 (diff) | |
download | scummvm-rg350-98ea92322b39371394f2ad098f370a074b6a9ec9.tar.gz scummvm-rg350-98ea92322b39371394f2ad098f370a074b6a9ec9.tar.bz2 scummvm-rg350-98ea92322b39371394f2ad098f370a074b6a9ec9.zip |
Fix for bug #953302 (COMI: Crash when you choose Rottingham as your first oponent); this would be suitable for the 0.6.x branch, too...
svn-id: r14401
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v8.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp index de296680fc..eb76c0d4ed 100644 --- a/scumm/script_v8.cpp +++ b/scumm/script_v8.cpp @@ -544,13 +544,7 @@ void ScummEngine_v8::readArrayFromIndexFile() { a = _fileHandle.readUint32LE(); b = _fileHandle.readUint32LE(); - // WORKAROUND: seems the COMI scripts have a bug related to array 436. - // and visible in script 2015, room 20. Basically, the dimensions - // are swapped in the definition of the array, but its obvious - // that this must be a script bug simply by looking at the defintions - // of other arrays and how they are used. - // Talk to fingolfin if you have questions about this :-) - if (num == 436) + if (b != 0) defineArray(num, 5, b, a); else defineArray(num, 5, a, b); |