diff --git a/Instance.cpp b/Instance.cpp index 0620779..4be98b3 100644 --- a/Instance.cpp +++ b/Instance.cpp @@ -12,9 +12,10 @@ Instance::Instance(void) Instance::Instance(const Instance &oinst) { - setParent(oinst.parent); + name = oinst.name; className = oinst.className; + //setParent(oinst.parent); } diff --git a/PhysicalInstance.cpp b/PhysicalInstance.cpp index dd0430a..c8734f3 100644 --- a/PhysicalInstance.cpp +++ b/PhysicalInstance.cpp @@ -25,8 +25,8 @@ PhysicalInstance::PhysicalInstance(void) PhysicalInstance::PhysicalInstance(const PhysicalInstance &oinst) { Instance::Instance(oinst); - name = oinst.name; - className = "Part"; + //name = oinst.name; + //className = "Part"; canCollide = oinst.canCollide; setParent(oinst.parent); anchored = oinst.anchored;