aboutsummaryrefslogtreecommitdiff
path: root/scumm/actor.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-01-15 06:36:58 +0000
committerTravis Howell2004-01-15 06:36:58 +0000
commitd09aea93181cfd6cde9bf3333d9dfefe834bc698 (patch)
tree91060ba91a7e30b216b4a2a271e2e038d66845be /scumm/actor.cpp
parent9854ab9344b8113a6308b4be8d125b707177f12f (diff)
downloadscummvm-rg350-d09aea93181cfd6cde9bf3333d9dfefe834bc698.tar.gz
scummvm-rg350-d09aea93181cfd6cde9bf3333d9dfefe834bc698.tar.bz2
scummvm-rg350-d09aea93181cfd6cde9bf3333d9dfefe834bc698.zip
This should be zeroed too.
svn-id: r12402
Diffstat (limited to 'scumm/actor.cpp')
-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;