diff options
author | Max Horn | 2002-12-26 00:21:19 +0000 |
---|---|---|
committer | Max Horn | 2002-12-26 00:21:19 +0000 |
commit | 48c66ba21007dbbd086301d7555224ba28687778 (patch) | |
tree | ac49a16d3589b50a2b90eab59c01fd216094616a /scumm/script_v6.cpp | |
parent | 91fc86eede6e9e1ffc5f3f01e47b17bbbc2fb98d (diff) | |
download | scummvm-rg350-48c66ba21007dbbd086301d7555224ba28687778.tar.gz scummvm-rg350-48c66ba21007dbbd086301d7555224ba28687778.tar.bz2 scummvm-rg350-48c66ba21007dbbd086301d7555224ba28687778.zip |
fixed save/load; more restructuring of the charset rendering code
svn-id: r6154
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r-- | scumm/script_v6.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index f27c6fe18e..088277ccd5 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -864,7 +864,7 @@ void Scumm_v6::o6_cursorCommand() case 0x9D: /* set charset colors */ getStackList(args, sizeof(args) / sizeof(args[0])); for (i = 0; i < 16; i++) - _charset->_colorMap[i] = _charsetData[_string[1].t_charset][i] = (unsigned char)args[i]; + _charsetColorMap[i] = _charsetData[_string[1].t_charset][i] = (unsigned char)args[i]; break; case 0xD6: makeCursorColorTransparent(pop()); @@ -2582,10 +2582,10 @@ void Scumm_v6::o6_miscOps() setStringVars(0); addMessageToStack(getStringAddressVar(VAR_STRING2DRAW)); if (strncmp("/SYSTEM.007/ /", (char *)buf, 14) == 0) { - translateText(buf + 13, _charset->_buffer); + translateText(buf + 13, _charsetBuffer); //description(); } else if (strncmp("/SYSTEM.007/ ", (char *)buf, 13) == 0) { - strcpy((char *)_charset->_buffer, (char *)buf + 13); + strcpy((char *)_charsetBuffer, (char *)buf + 13); //description(); } } else { |