aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/motion.cpp
diff options
context:
space:
mode:
authorColin Snover2017-11-16 10:32:47 -0600
committerEugene Sandulenko2017-11-18 22:35:12 +0100
commita475cec2aab9a56e618e7858373b40b0cbda5aed (patch)
treeda68cca3d6b76d7284316230379193d0b22241e8 /engines/fullpipe/motion.cpp
parent715d4bd76ab749b88f888ea8196ce252de6140ad (diff)
downloadscummvm-rg350-a475cec2aab9a56e618e7858373b40b0cbda5aed.tar.gz
scummvm-rg350-a475cec2aab9a56e618e7858373b40b0cbda5aed.tar.bz2
scummvm-rg350-a475cec2aab9a56e618e7858373b40b0cbda5aed.zip
FULLPIPE: Remove unnecessary constructors
These appear to be default member-wise copy constructors or POD constructors that zero all members. I suspect that quite a few pointer-taking constructors are actually supposed to be copy-constructors but since they don't all just do default member-wise copies I do not feel confident in changing them without verifying that there are not separate copy constructors in the disassembly, and I don't have the database for this game.
Diffstat (limited to 'engines/fullpipe/motion.cpp')
-rw-r--r--engines/fullpipe/motion.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp
index 005ed707c0..4f854b6304 100644
--- a/engines/fullpipe/motion.cpp
+++ b/engines/fullpipe/motion.cpp
@@ -713,19 +713,6 @@ MctlConnectionPoint::MctlConnectionPoint() {
_mctlmirror = 0;
}
-MctlMQ::MctlMQ(MctlMQ *src) {
- index = src->index;
- pt1 = src->pt1;
- pt2 = src->pt2;
- distance1 = src->distance1;
- distance2 = src->distance2;
- subIndex = src->subIndex;
- item1Index = src->item1Index;
- items = src->items;
- itemsCount = src->itemsCount;
- flags = src->flags;
-}
-
void MctlMQ::clear() {
index = 0;
pt1.x = pt1.y = 0;