CAddLinkCommand: Make use of push_back over operator<<
This commit is contained in:
parent
85fdbe709a
commit
07acac35c9
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue