Permalink
Browse files

Orphanlist fix

  • Loading branch information...
1 parent e558852 commit e5b7b0948893f99a38bc29ff3cae28445c9ee578 @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 e5b7b09

Please sign in to comment.