diff options
Diffstat (limited to 'scumm/script_v7he.cpp')
-rw-r--r-- | scumm/script_v7he.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/script_v7he.cpp b/scumm/script_v7he.cpp index 165dfef855..ca883aa06e 100644 --- a/scumm/script_v7he.cpp +++ b/scumm/script_v7he.cpp @@ -906,7 +906,7 @@ void ScummEngine_v70he::o70_readINI() { const char *entry; int len, type; - addMessageToStack(_scriptPointer, option, sizeof(option)); + convertMessageToString(_scriptPointer, option, sizeof(option)); len = resStrLen(_scriptPointer); _scriptPointer += len + 1; @@ -941,7 +941,7 @@ void ScummEngine_v70he::o70_writeINI() { type = pop(); value = pop(); - addMessageToStack(_scriptPointer, option, sizeof(option)); + convertMessageToString(_scriptPointer, option, sizeof(option)); len = resStrLen(_scriptPointer); _scriptPointer += len + 1; @@ -950,7 +950,7 @@ void ScummEngine_v70he::o70_writeINI() { ConfMan.set((char *)option, value); break; case 2: // string - addMessageToStack(_scriptPointer, string, sizeof(string)); + convertMessageToString(_scriptPointer, string, sizeof(string)); len = resStrLen(_scriptPointer); _scriptPointer += len + 1; ConfMan.set((char *)option, (char *)string); @@ -1030,7 +1030,7 @@ void ScummEngine_v70he::o70_setFilePath() { int len; byte filename[100]; - addMessageToStack(_scriptPointer, filename, sizeof(filename)); + convertMessageToString(_scriptPointer, filename, sizeof(filename)); len = resStrLen(_scriptPointer); _scriptPointer += len + 1; |