aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/actor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index e2a0f6636c..82e2b6613b 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -1319,6 +1319,7 @@ void Actor::startWalkAnim(int cmd, int angle) {
#if 1
if (walkScript != 0) {
int args[16];
+ memset(args, 0, sizeof(args));
args[0] = number;
args[1] = cmd;
args[2] = angle;