- Timestamp:
- Jan 30, 2006, 11:42:44 AM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/game_world_data.cc
r6834 r6863 266 266 delete this->objectManager; 267 267 } 268 268 269 if(State::getSkyBox()) 269 270 State::setSkyBox(NULL); 271 272 glmis = NULL; 273 localCamera = NULL; 274 localPlayer = NULL; 275 sky = NULL; 276 terrain = NULL; 277 music = NULL; 278 objectManager = NULL; 270 279 } 271 280 -
trunk/src/world_entities/skybox.cc
r6860 r6863 105 105 for (int i = 0; i < 6; i++) 106 106 { 107 delete this->material[i]; 108 delete this->cubeTexture[i]; 107 if( this->material[i]) 108 delete this->material[i]; 109 // if( this->cubeTexture[i]) 110 // delete this->cubeTexture[i]; 109 111 } 110 112 }
Note: See TracChangeset
for help on using the changeset viewer.