Changeset 7311 in orxonox.OLD for trunk/src/story_entities
- Timestamp:
- Apr 17, 2006, 12:28:16 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/game_world_data.cc
r7299 r7311 269 269 delete this->localPlayer; 270 270 State::setPlayer(NULL); 271 this->localPlayer = NULL; 272 this->localCamera = NULL; 273 State::setCamera(NULL, NULL); 274 this->sky = NULL; 275 this->terrain = NULL; 271 276 272 277 nodeList = ClassList::getList(CL_GRAPHICS_EFFECT); … … 292 297 delete this->objectManager; 293 298 } 299 this->objectManager = NULL; 294 300 295 301 if(State::getSkyBox()) 296 302 State::setSkyBox(NULL); 297 303 298 glmis = NULL; 299 localCamera = NULL; 300 localPlayer = NULL; 301 State::setCamera(NULL, NULL); 302 sky = NULL; 303 terrain = NULL; 304 objectManager = NULL; 304 this->glmis = NULL; 305 305 } 306 306 … … 344 344 if (this->music != NULL) 345 345 this->setSoundTrack(""); 346 this->music = NULL;347 346 348 347 /* unload the shaders */
Note: See TracChangeset
for help on using the changeset viewer.