Changeset 3888 in orxonox.OLD for orxonox/trunk/src/world_entities/weapon.cc
- Timestamp:
- Apr 19, 2005, 1:16:16 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/weapon.cc
r3881 r3888 52 52 /* 53 53 i dont have to delete the weapons itself, because they are 54 worldentities and therefore in the entities list of the world 54 worldentities and therefore in the entities list of the world. 55 world will clean them up for me 55 56 */ 56 57 for(int i = 0; i < W_MAX_CONFIGS; ++i) … … 207 208 WorldInterface* wi = WorldInterface::getInstance(); 208 209 this->worldEntities = wi->getEntityList(); 210 211 this->objectComponent1 = NULL; 212 this->objectComponent2 = NULL; 213 this->objectComponent3 = NULL; 214 215 this->animation1 = NULL; 216 this->animation2 = NULL; 217 this->animation3 = NULL; 209 218 } 210 219 … … 216 225 { 217 226 // model will be deleted from WorldEntity-destructor 227 //this->worldEntities = NULL; 228 229 /* dont delete objectComponentsX here, they will be killed when the pnodes are cleaned out */ 230 231 /* all animations are deleted via the animation player*/ 218 232 } 219 233
Note: See TracChangeset
for help on using the changeset viewer.