aboutsummaryrefslogtreecommitdiff
path: root/scumm/string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/string.cpp')
-rw-r--r--scumm/string.cpp2
1 files changed, 0 insertions, 2 deletions
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;