Changeset 2482 for code/branches/presentation/src
- Timestamp:
- Dec 16, 2008, 1:32:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/network/synchronisable/Synchronisable.cc
r2464 r2482 119 119 if (it != objectMap_.end()) 120 120 objectMap_.erase(it); 121 122 //HACK HACK HACK HACK HACK HACK 123 // this hack ensures that childs of this object also get destroyed 124 // ObjectList<Synchronisable>::iterator it2, it3; 125 // // get total size of gamestate 126 // for(it2 = ObjectList<Synchronisable>::begin(); it2; ++it2) 127 // { 128 // if ( it2->getCreatorID() == this->objectID && it2->getCreatorID() != OBJECTID_UNKNOWN ) 129 // { 130 // Synchronisable::deleteObject( it2->getObjectID() ); 131 // } 132 // } 133 //HACK HACK HACK HACK HACK HACK 121 134 } 122 135 … … 161 174 { 162 175 mem += header->size; //.TODO: this suckz.... remove size from header 163 assert(0); 176 // assert(0); // TODO: uncomment this if we have a clean objecthierarchy (with destruction of children of objects) ^^ 164 177 return 0; 165 178 }
Note: See TracChangeset
for help on using the changeset viewer.