diff options
author | Eugene Sandulenko | 2004-01-14 03:50:58 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-01-14 03:50:58 +0000 |
commit | a1e39b988d3e85d5a4acc0b2ab0b470ac9dbeac7 (patch) | |
tree | 16ea57d7ac56194fc067c4d5a945d3d6de02166d /scumm | |
parent | e3a28ad4b7d1b73d83a660f1a0535f957f42dbfd (diff) | |
download | scummvm-rg350-a1e39b988d3e85d5a4acc0b2ab0b470ac9dbeac7.tar.gz scummvm-rg350-a1e39b988d3e85d5a4acc0b2ab0b470ac9dbeac7.tar.bz2 scummvm-rg350-a1e39b988d3e85d5a4acc0b2ab0b470ac9dbeac7.zip |
Implemented o6_localizeArray for HE games
svn-id: r12368
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v6.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index 181a4f7014..4e54d7c891 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -3271,7 +3271,13 @@ void ScummEngine_v6::o6_readINI() { // Humongous Entertainment games only void ScummEngine_v6::o6_localizeArray() { - warning("stub localizeArray(%d)", pop()); + int stringID = pop(); + + if (stringID < _numArray) { + _baseArrays[stringID][0] = (byte)_currentScript; + } else { + warning("o6_localizeArray(%d): too big scriptID", stringID); + } } void ScummEngine_v6::decodeParseString(int m, int n) { |