diff options
author | Travis Howell | 2005-11-05 00:14:34 +0000 |
---|---|---|
committer | Travis Howell | 2005-11-05 00:14:34 +0000 |
commit | 772bb686a7bc390d2bcc9c2dca443209dec92f55 (patch) | |
tree | 829db98e86fa261f87b8b78a823f1eb9c57df728 | |
parent | d2cf37c2081d1e35a65f3691cd170fc181c20730 (diff) | |
download | scummvm-rg350-772bb686a7bc390d2bcc9c2dca443209dec92f55.tar.gz scummvm-rg350-772bb686a7bc390d2bcc9c2dca443209dec92f55.tar.bz2 scummvm-rg350-772bb686a7bc390d2bcc9c2dca443209dec92f55.zip |
Correct value.
svn-id: r19431
-rw-r--r-- | scumm/script_v7he.cpp | 4 | ||||
-rw-r--r-- | scumm/string.cpp | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/scumm/script_v7he.cpp b/scumm/script_v7he.cpp index 65629ba461..1f5cc78768 100644 --- a/scumm/script_v7he.cpp +++ b/scumm/script_v7he.cpp @@ -813,9 +813,9 @@ void ScummEngine_v70he::o70_kernelSetFunctions() { case 26: a = derefActor(args[1], "o70_kernelSetFunctions: 26"); a->_auxBlock.r.left = 0; - a->_auxBlock.r.top = 0; a->_auxBlock.r.right = -1; - a->_auxBlock.r.bottom = -1; + a->_auxBlock.r.top = 0; + a->_auxBlock.r.bottom = -2; break; case 30: a = derefActor(args[1], "o70_kernelSetFunctions: 30"); diff --git a/scumm/string.cpp b/scumm/string.cpp index a0057aca49..a68caad909 100644 --- a/scumm/string.cpp +++ b/scumm/string.cpp @@ -234,7 +234,6 @@ bool ScummEngine_v72he::handleNextCharsetCode(Actor *a, int *code) { switch (c) { case 84: i = 0; - memset(value, 0, sizeof(value)); c = *buffer++; while (c != 44) { value[i] = c; @@ -244,7 +243,6 @@ bool ScummEngine_v72he::handleNextCharsetCode(Actor *a, int *code) { value[i] = 0; talk_sound_a = atoi(value); i = 0; - memset(value, 0, sizeof(value)); c = *buffer++; while (c != charsetCode) { value[i] = c; |