aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorJonathan Gray2002-11-30 23:16:19 +0000
committerJonathan Gray2002-11-30 23:16:19 +0000
commit6c6ca7b90210b95fddcf14108a7d0b6d3f088c20 (patch)
tree615358a75bb2964244273883c2297e1581fed8f7 /scumm
parent2fe56a4c6a0dc18d1b03804b1f51cbf0a7821237 (diff)
downloadscummvm-rg350-6c6ca7b90210b95fddcf14108a7d0b6d3f088c20.tar.gz
scummvm-rg350-6c6ca7b90210b95fddcf14108a7d0b6d3f088c20.tar.bz2
scummvm-rg350-6c6ca7b90210b95fddcf14108a7d0b6d3f088c20.zip
comment an assertion in readArray to stop ft crashing in the minefield
svn-id: r5765
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v2.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index 40647f7527..8e631ec1dd 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -403,7 +403,9 @@ int Scumm::readArray(int array, int idx, int base)
base += idx * ah->dim1_size;
- assert(base >= 0 && base < ah->dim1_size * ah->dim2_size);
+ // FIXME: comment this for the time being as it was causing ft to crash
+ // in the minefeild
+ // assert(base >= 0 && base < ah->dim1_size * ah->dim2_size);
if (ah->type == 4) {
return ah->data[base];