Changeset 6987 in orxonox.OLD for trunk/src/story_entities
- Timestamp:
- Feb 2, 2006, 6:24:50 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/game_world_data.cc
r6985 r6987 323 323 324 324 if (this->music != NULL) 325 delete this->music;325 this->setSoundTrack(NULL); 326 326 this->music = NULL; 327 327 /* stop the sound eninge */ … … 338 338 if (this->music != NULL) 339 339 delete this->music; 340 341 PRINTF(3)("Setting Sound Track to %s\n", name); 342 this->music = (OggPlayer*)ResourceManager::getInstance()->load(name, OGG, RP_LEVEL); 343 } 344 345 340 this->music = NULL; 341 342 if (name != NULL) 343 { 344 PRINTF(3)("Setting Sound Track to %s\n", name); 345 this->music = (OggPlayer*)ResourceManager::getInstance()->load(name, OGG, RP_LEVEL); 346 } 347 } 348 349
Note: See TracChangeset
for help on using the changeset viewer.