aboutsummaryrefslogtreecommitdiff
path: root/scumm/actor.h
diff options
context:
space:
mode:
authorMax Horn2003-03-07 21:59:02 +0000
committerMax Horn2003-03-07 21:59:02 +0000
commitcb04f9f9b3b3b5b7d32bd87400bc6ad440233978 (patch)
treeb8e360beebcdda059b2b75b89139a53a8f968d63 /scumm/actor.h
parent992b4f479f9343da9acb05ea2dfbb8d5d55bfd45 (diff)
downloadscummvm-rg350-cb04f9f9b3b3b5b7d32bd87400bc6ad440233978.tar.gz
scummvm-rg350-cb04f9f9b3b3b5b7d32bd87400bc6ad440233978.tar.bz2
scummvm-rg350-cb04f9f9b3b3b5b7d32bd87400bc6ad440233978.zip
fixed some more valgrind warnings
svn-id: r6756
Diffstat (limited to 'scumm/actor.h')
-rw-r--r--scumm/actor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/scumm/actor.h b/scumm/actor.h
index 5691837518..aa9f9813d5 100644
--- a/scumm/actor.h
+++ b/scumm/actor.h
@@ -109,10 +109,13 @@ public:
// Constructor, sets all data to 0
Actor() {
+ _vm = 0;
+
top = bottom = 0;
number = 0;
needRedraw = needBgReset = costumeNeedsInit = visible = false;
flip = false;
+ speedx = speedy = 0;
frame = 0;
walkbox = 0;
animProgress = 0;