From 458ecbffcff89f7d10dcdd0abcb9afec793515ae Mon Sep 17 00:00:00 2001 From: James Brown Date: Sun, 12 Jan 2003 18:55:41 +0000 Subject: Remove assert. It's assertion makes me fearful of it's dominance. Oh, and it prevents the Lights scene in ComI working. svn-id: r6433 --- scumm/script_v6.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index c4375db98d..4e2deaf68a 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -424,7 +424,7 @@ void Scumm::writeArray(int array, int idx, int base, int value) return; base += idx * ah->dim1_size; - assert(base >= 0 && base < ah->dim1_size * ah->dim2_size); + //assert(base >= 0 && base < ah->dim1_size * ah->dim2_size); if (ah->type == 4) { ah->data[base] = value; -- cgit v1.2.3