diff options
-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; |