Changeset 4652 in orxonox.OLD for orxonox/trunk/src/util
- Timestamp:
- Jun 17, 2005, 10:15:06 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/garbage_collector.cc
r4597 r4652 121 121 entity->remove(); 122 122 /* then finaly delete reference */ 123 //delete entity;124 ObjectManager::getInstance()->addToDeadList(entity->getClassID() & CL_MASK_LOWLEVEL_CLASS, entity);123 delete entity; 124 //ObjectManager::getInstance()->addToDeadList(entity->getClassID() & CL_MASK_LOWLEVEL_CLASS, entity); 125 125 } 126 126 entity = iterator->nextElement();
Note: See TracChangeset
for help on using the changeset viewer.