aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/motion.h
diff options
context:
space:
mode:
authorEugene Sandulenko2013-12-21 22:36:19 +0200
committerEugene Sandulenko2013-12-21 22:36:19 +0200
commit5f699929c85bc14cbcba8197f58c71ec1ffe5d8e (patch)
treeae65fe0d2dcfca0cd14b7efc27fe93c4297b5881 /engines/fullpipe/motion.h
parenteeca348953d851d11f98b9b78d9bba0043937614 (diff)
downloadscummvm-rg350-5f699929c85bc14cbcba8197f58c71ec1ffe5d8e.tar.gz
scummvm-rg350-5f699929c85bc14cbcba8197f58c71ec1ffe5d8e.tar.bz2
scummvm-rg350-5f699929c85bc14cbcba8197f58c71ec1ffe5d8e.zip
FULLPIPE: Do not memcpy non-POD objects.
Thanks to eriktorbjorn for finding out.
Diffstat (limited to 'engines/fullpipe/motion.h')
-rw-r--r--engines/fullpipe/motion.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/fullpipe/motion.h b/engines/fullpipe/motion.h
index 029b25bb19..a4d68e17fb 100644
--- a/engines/fullpipe/motion.h
+++ b/engines/fullpipe/motion.h
@@ -372,6 +372,10 @@ struct MovInfo1 {
Common::Array<MovInfo1Sub *> items;
int itemsCount;
int flags;
+
+ MovInfo1() { clear(); }
+ MovInfo1(MovInfo1 *src);
+ void clear();
};
struct MovGraph2Item { // 744