- Timestamp:
- Dec 14, 2009, 12:51:34 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/sound/AmbientSound.cc
r6326 r6349 53 53 AmbientSound::~AmbientSound() 54 54 { 55 } 56 57 void AmbientSound::preDestroy() 58 { 59 if (GameMode::playsSound()) 60 { 61 // Smoothly fade out by keeping a SmartPtr 62 SoundManager::getInstance().unregisterAmbientSound(this); 63 } 55 64 } 56 65
Note: See TracChangeset
for help on using the changeset viewer.