diff options
Diffstat (limited to 'engines/scumm/he/script_v72he.cpp')
-rw-r--r-- | engines/scumm/he/script_v72he.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/scumm/he/script_v72he.cpp b/engines/scumm/he/script_v72he.cpp index 78be4399a4..afedcdba22 100644 --- a/engines/scumm/he/script_v72he.cpp +++ b/engines/scumm/he/script_v72he.cpp @@ -1676,6 +1676,11 @@ void ScummEngine_v72he::o72_openFile() { copyScriptString(buffer, sizeof(buffer)); debug(1, "Original filename %s", buffer); + // HACK: INI filename seems to get reset, corruption elsewhere? + if (_game.id == GID_MOONBASE && buffer[0] == 0) { + strcpy((char *)buffer, "moonbase.ini"); + } + const char *filename = (char *)buffer + convertFilePath(buffer); debug(1, "Final filename to %s", filename); |