Permalink
Browse files

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

  • Loading branch information...
2 parents 85c24e6 + e5b7b09 commit fe02b0b4c3c2704c47adc4b8345942c1a561894e @deek0146 committed Feb 28, 2012
Showing with 1 addition and 9 deletions.
  1. +1 −9 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)

0 comments on commit fe02b0b

Please sign in to comment.