diff --git a/src/Editor/Undo/CAddLinkCommand.cpp b/src/Editor/Undo/CAddLinkCommand.cpp index 4d00bf82..e1fbea94 100644 --- a/src/Editor/Undo/CAddLinkCommand.cpp +++ b/src/Editor/Undo/CAddLinkCommand.cpp @@ -6,10 +6,10 @@ CAddLinkCommand::CAddLinkCommand(CWorldEditor *pEditor, CLink Link) , mpEditor(pEditor) , mLink(Link) { - mAffectedInstances << mLink.Sender(); + mAffectedInstances.push_back(mLink.Sender()); if (mLink.SenderID() != mLink.ReceiverID()) - mAffectedInstances << mLink.Receiver(); + mAffectedInstances.push_back(mLink.Receiver()); } void CAddLinkCommand::undo()