diff --git a/engines/fullpipe/motion.h b/engines/fullpipe/motion.h index 733fa0839e0..b0bfe92d1f5 100644 --- a/engines/fullpipe/motion.h +++ b/engines/fullpipe/motion.h @@ -71,6 +71,8 @@ class MctlCompound : public MotionController { MctlCompoundArray _motionControllers; public: + MctlCompound() { _objtype = kObjTypeMctlCompound; } + virtual bool load(MfcArchive &file); virtual int addObject(StaticANIObject *obj); diff --git a/engines/fullpipe/utils.h b/engines/fullpipe/utils.h index 3223b9c76cd..e593bd9f18a 100644 --- a/engines/fullpipe/utils.h +++ b/engines/fullpipe/utils.h @@ -69,7 +69,8 @@ enum ObjType { kObjTypeObjstateCommand, kObjTypeStaticANIObject, kObjTypePictureObject, - kObjTypeMovGraph + kObjTypeMovGraph, + kObjTypeMctlCompound }; class CObject {