Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of github.com:deek0146/framework2d

  • Loading branch information...
commit fe02b0b4c3c2704c47adc4b8345942c1a561894e 2 parents 85c24e6 + e5b7b09
Alasdair authored
Showing with 1 addition and 9 deletions.
  1. +1 −9 Filesystem/OrphanList.cpp
10 Filesystem/OrphanList.cpp
View
@@ -13,15 +13,7 @@ OrphanList::~OrphanList()
void OrphanList::attachOrphan(GameObjectBase* _node)
{
- _node->parent = this;
- _node->parent = this;
- _node->prev = nullptr;
- _node->next = children;
- if (children != nullptr)
- {
- children->prev = _node;
- }
- children = _node;
+ attachChild(_node);
}
void OrphanList::registerActions(GameObjectType* _type)
Please sign in to comment.
Something went wrong with that request. Please try again.