FULLPIPE: Bug fix MctlCompound::load()
This commit is contained in:
parent
93c3375244
commit
d207dcfba6
2 changed files with 4 additions and 5 deletions
|
@ -50,7 +50,9 @@ bool MctlCompound::load(MfcArchive &file) {
|
||||||
|
|
||||||
for (int i = 0; i < count; i++) {
|
for (int i = 0; i < count; i++) {
|
||||||
debug(6, "CompoundArray[%d]", i);
|
debug(6, "CompoundArray[%d]", i);
|
||||||
MctlCompoundArrayItem *obj = (MctlCompoundArrayItem *)file.readClass();
|
MctlCompoundArrayItem *obj = new MctlCompoundArrayItem();
|
||||||
|
|
||||||
|
obj->_motionControllerObj = (MotionController *)file.readClass();
|
||||||
|
|
||||||
int count1 = file.readUint32LE();
|
int count1 = file.readUint32LE();
|
||||||
|
|
||||||
|
|
|
@ -61,10 +61,7 @@ class MovGraphReact : public CObject {
|
||||||
// Empty
|
// Empty
|
||||||
};
|
};
|
||||||
|
|
||||||
class MctlConnectionPointsArray : public Common::Array<CObject>, public CObject {
|
typedef Common::Array<CObject> MctlConnectionPointsArray;
|
||||||
public:
|
|
||||||
virtual bool load(MfcArchive &file);
|
|
||||||
};
|
|
||||||
|
|
||||||
class MctlCompoundArrayItem : public CObject {
|
class MctlCompoundArrayItem : public CObject {
|
||||||
friend class MctlCompound;
|
friend class MctlCompound;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue