aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorEugene Sandulenko2004-10-11 09:47:07 +0000
committerEugene Sandulenko2004-10-11 09:47:07 +0000
commit88caf6cce9737134831940d981ec21e0cd5b85eb (patch)
tree3b02b4cb5ee5ea2627efa2288320dd63f3e56d4c /scumm
parent76ea75ca6610a276616791e55275a175830cc0cf (diff)
downloadscummvm-rg350-88caf6cce9737134831940d981ec21e0cd5b85eb.tar.gz
scummvm-rg350-88caf6cce9737134831940d981ec21e0cd5b85eb.tar.bz2
scummvm-rg350-88caf6cce9737134831940d981ec21e0cd5b85eb.zip
Fix bug #1044074. Check which triggered the error is too strict, so
disable it. svn-id: r15514
Diffstat (limited to 'scumm')
-rw-r--r--scumm/insane/insane.cpp17
1 files changed, 14 insertions, 3 deletions
diff --git a/scumm/insane/insane.cpp b/scumm/insane/insane.cpp
index 3d515d0a87..f92dacceb2 100644
--- a/scumm/insane/insane.cpp
+++ b/scumm/insane/insane.cpp
@@ -681,9 +681,20 @@ void Insane::readState(void) { // PATCH
error("Wrong INSANE parameters for EN_VULTF2 (%d %d). Please, report this",
_enemy[EN_VULTF2].isEmpty, _actor[0].inventory[INV_CHAINSAW]);
- if (_enemy[EN_CAVEFISH].isEmpty != readArray(8))
- error("Wrong INSANE parameters for EN_CAVEFISH (%d %d). Please, report this",
- _enemy[EN_CAVEFISH].isEmpty, readArray(8));
+ // FIXME
+ // This used to be here but.
+ // - bootparam 551 gives googles without cavefish met
+ // - when you get the ramp, googles disappear, but you already won the cavefish
+ // Incorrect situation would be
+ // you won cavefish, don't have googles, don't have ramp
+ //
+ // So if you find out what how to check ramp presense, feel free to add check here
+ // (beware of FT ver a and ver b. In version b var311 is inserted and all vars >311
+ // are shifted),
+ //
+ //if (_enemy[EN_CAVEFISH].isEmpty != readArray(8))
+ // error("Wrong INSANE parameters for EN_CAVEFISH (%d %d). Please, report this",
+ // _enemy[EN_CAVEFISH].isEmpty, readArray(8));
}
}