Changeset 5088 in orxonox.OLD for trunk/src/lib/graphics/render2D
- Timestamp:
- Aug 21, 2005, 6:25:54 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/render2D/element_2d.cc
r5084 r5088 45 45 // delete what has to be deleted here 46 46 Render2D::getInstance()->unregisterElement2D(this); 47 48 if (this->toCoordinate != NULL) 49 delete this->toCoordinate; 50 if (this->toDirection != NULL) 51 delete this->toDirection; 47 52 } 48 53 … … 65 70 this->bRelCoorChanged = true; 66 71 this->bRelDirChanged = true; 72 this->toCoordinate = NULL; 73 this->toDirection = NULL; 67 74 if (parent == NULL) 68 75 this->parent = NULL;
Note: See TracChangeset
for help on using the changeset viewer.