- Timestamp:
- Apr 17, 2006, 12:28:16 AM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/sound/ogg_player.cc
r7310 r7311 277 277 if(!this->stream(this->buffers[0]) || !this->stream(this->buffers[1])) 278 278 { 279 return false;280 279 SDL_mutexV(this->musicMutex); 280 this->state &= ~OggPlayer::Playing; 281 return false; 281 282 } 282 283 -
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.