diff options
-rw-r--r-- | scumm/script_v6.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index a4ef6749b0..a6f3b03183 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -2475,13 +2475,13 @@ void Scumm_v6::o6_kernelSetFunctions() { case 16: case 17:{ const byte *message; - byte buf_input[300]; + byte buf_input[300], buf_output[300]; _messagePtr = getStringAddressVar(VAR_STRING2DRAW); message = _msgPtrToAdd = buf_input; addMessageToStack(_messagePtr); if (_gameId == GID_DIG) { - byte buf_output[300], buf_trans[300], *ptr = buf_input; - char *t_ptr = (char *)ptr; + byte buf_trans[300]; + char *t_ptr = (char *)buf_input; buf_output[0] = 0; while (t_ptr != NULL) { if (*t_ptr == '/') { |