diff options
-rw-r--r-- | engines/saga/sfuncs.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/saga/sfuncs.cpp b/engines/saga/sfuncs.cpp index 2f93aa5197..01b54e7aaf 100644 --- a/engines/saga/sfuncs.cpp +++ b/engines/saga/sfuncs.cpp @@ -387,6 +387,8 @@ void Script::sfScriptDoAction(SCRIPTFUNC_PARAMS) { return; } moduleNumber = 0; + if (_vm->getGameType() == GType_IHNM) + moduleNumber = _vm->_scene->getScriptModuleNumber(); break; case kGameObjectActor: actor = _vm->_actor->getActor(objectId); @@ -399,6 +401,8 @@ void Script::sfScriptDoAction(SCRIPTFUNC_PARAMS) { } else { moduleNumber = _vm->_scene->getScriptModuleNumber(); } + if (_vm->getGameType() == GType_IHNM) + moduleNumber = _vm->_scene->getScriptModuleNumber(); break; case kGameObjectHitZone: case kGameObjectStepZone: |