diff options
author | Max Horn | 2002-12-25 15:04:04 +0000 |
---|---|---|
committer | Max Horn | 2002-12-25 15:04:04 +0000 |
commit | 33cddb4c1cd8a8f1ff5f2a777edd6ff02bd509a7 (patch) | |
tree | 088f8aad1ef9b913e4663bdca4db3d8c14db4296 /scumm/script_v6.cpp | |
parent | 883cf3f60e9e35e616a445f2aae6c07bebb45d1f (diff) | |
download | scummvm-rg350-33cddb4c1cd8a8f1ff5f2a777edd6ff02bd509a7.tar.gz scummvm-rg350-33cddb4c1cd8a8f1ff5f2a777edd6ff02bd509a7.tar.bz2 scummvm-rg350-33cddb4c1cd8a8f1ff5f2a777edd6ff02bd509a7.zip |
use translateText for V8 print opcodes
svn-id: r6134
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r-- | scumm/script_v6.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index 2e4e1f3a41..27d2d3c6da 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -2949,8 +2949,8 @@ void Scumm_v6::decodeParseString(int m, int n) _scriptPointer += resStrLen((char*)_scriptPointer)+ 1; translateText(_messagePtr, _transText); for (i = 0, j = 0; (_messagePtr[i] != '/' || j == 0) && j < 19; i++) { - if (_messagePtr[i] != '/') - pointer[j++] = _messagePtr[i]; + if (_messagePtr[i] != '/') + pointer[j++] = _messagePtr[i]; } pointer[j] = 0; |