diff options
author | Max Horn | 2003-05-25 12:40:53 +0000 |
---|---|---|
committer | Max Horn | 2003-05-25 12:40:53 +0000 |
commit | 95b33c422c04c27ffb313f0c830981e095c50372 (patch) | |
tree | 26cd4007662f8dce8e206b7db39a77d9b2b3670d | |
parent | e932e54b785086565359d6cebc38b8bd7cf8bac5 (diff) | |
download | scummvm-rg350-95b33c422c04c27ffb313f0c830981e095c50372.tar.gz scummvm-rg350-95b33c422c04c27ffb313f0c830981e095c50372.tar.bz2 scummvm-rg350-95b33c422c04c27ffb313f0c830981e095c50372.zip |
oops
svn-id: r7950
-rw-r--r-- | scumm/string.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp index 30c0efab25..49ce1f98d6 100644 --- a/scumm/string.cpp +++ b/scumm/string.cpp @@ -587,7 +587,7 @@ const byte *Scumm::addMessageToStack(const byte *msg) { int var = READ_LE_UINT16(ptr + num); num += 2; char c; - while ((c = (char) _scummVars[var])) { + while ((c = (char) _scummVars[var++])) { if (c != '@') *_msgPtrToAdd++ = c; } |