aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/stateloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe/stateloader.cpp')
-rw-r--r--engines/fullpipe/stateloader.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/fullpipe/stateloader.cpp b/engines/fullpipe/stateloader.cpp
index 9698da87e8..f242969a09 100644
--- a/engines/fullpipe/stateloader.cpp
+++ b/engines/fullpipe/stateloader.cpp
@@ -517,6 +517,12 @@ bool CMctlCompound::load(MfcArchive &file) {
debug(0, "CMctlCompund::count = %d", count);
+ for (int i = 0; i < count; i++) {
+ CMctlCompoundArrayItem *obj = (CMctlCompoundArrayItem *)file.readClass();
+
+ _motionControllers.push_back(*obj);
+ }
+
return true;
}