mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 00:41:12 +00:00
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
This commit is contained in:
parent
f1cfbe9065
commit
98ea92322b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user