aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorDavid Turner2011-01-13 03:25:57 +0000
committerDavid Turner2011-01-13 03:25:57 +0000
commit731a75adb8ab09eff5e37bfc13cbf13914845092 (patch)
treecc1ce6c63b38c61e1516c173ab624155936432b7 /engines
parenta7a05fc05385c7b1bee0b13079075ecb3542c6cb (diff)
downloadscummvm-rg350-731a75adb8ab09eff5e37bfc13cbf13914845092.tar.gz
scummvm-rg350-731a75adb8ab09eff5e37bfc13cbf13914845092.tar.bz2
scummvm-rg350-731a75adb8ab09eff5e37bfc13cbf13914845092.zip
PARALLACTION: Fix for Valgrind Uninitialized Error in Big Red Adventure Walk Code.
svn-id: r55221
Diffstat (limited to 'engines')
-rw-r--r--engines/parallaction/walk.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/parallaction/walk.cpp b/engines/parallaction/walk.cpp
index 884d1a32ac..3fa71d7a27 100644
--- a/engines/parallaction/walk.cpp
+++ b/engines/parallaction/walk.cpp
@@ -732,7 +732,9 @@ void PathWalker_BR::doWalk(State &s) {
PathWalker_BR::PathWalker_BR() {
_character._active = false;
+ _character._step = 0;
_follower._active = false;
+ _follower._step = 0;
}