aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/objects.h
diff options
context:
space:
mode:
authorEugene Sandulenko2016-08-29 08:13:16 +0200
committerEugene Sandulenko2016-08-29 08:13:16 +0200
commita2e9d8807ad6adca875185624f3e188164ef4e27 (patch)
tree1a281df0ebd9f19f020a4c52b477c78c366b29e0 /engines/fullpipe/objects.h
parent0237050b36e2c2e6e705f69bad48893a3ca9ea80 (diff)
downloadscummvm-rg350-a2e9d8807ad6adca875185624f3e188164ef4e27.tar.gz
scummvm-rg350-a2e9d8807ad6adca875185624f3e188164ef4e27.tar.bz2
scummvm-rg350-a2e9d8807ad6adca875185624f3e188164ef4e27.zip
FULLPIPE: Initialize struct at construction.
Thanks to eriktorbjorn for valgrind logs.
Diffstat (limited to 'engines/fullpipe/objects.h')
-rw-r--r--engines/fullpipe/objects.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/fullpipe/objects.h b/engines/fullpipe/objects.h
index 1849bcb96e..f9a641d562 100644
--- a/engines/fullpipe/objects.h
+++ b/engines/fullpipe/objects.h
@@ -61,6 +61,8 @@ struct PicAniInfo {
int32 someDynamicPhaseIndex;
bool load(MfcArchive &file);
+
+ PicAniInfo() { memset(this, 0, sizeof(PicAniInfo)); }
};
union VarValue {