aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/saga/sfuncs.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/saga/sfuncs.cpp b/engines/saga/sfuncs.cpp
index fad2a26247..0c9d415c59 100644
--- a/engines/saga/sfuncs.cpp
+++ b/engines/saga/sfuncs.cpp
@@ -731,6 +731,14 @@ void Script::sfEnableZone(SCRIPTFUNC_PARAMS) {
int16 flag = thread->pop();
HitZone *hitZone;
+ // HACK: Don't disable the tear in scene 14, to keep the staircase functioning
+ // FIXME: Investigate why this hack is needed and remove it
+ if (_vm->getGameType() == GType_IHNM && _vm->_scene->currentChapterNumber() == 1 &&
+ _vm->_scene->currentSceneNumber() == 14) {
+ warning("sfEnableZone: HACK: Prevent unusable staircase");
+ return; // Do nothing
+ }
+
if (objectTypeId(objectId) == NULL)
return;
else if (objectTypeId(objectId) == kGameObjectHitZone)