Changeset 6100 for code/branches/sound3/src/orxonox/sound/AmbientSound.cc
- Timestamp:
- Nov 19, 2009, 9:01:16 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/sound3/src/orxonox/sound/AmbientSound.cc
r6071 r6100 125 125 void AmbientSound::changedActivity() 126 126 { 127 COUT(3) << "Sound: " << this->getSource() << ": ChangedActivity: " << this->isActive() << std::endl; 128 this->BaseObject::changedActivity(); 127 SUPER(AmbientSound, changedActivity); 129 128 if (this->isActive()) 130 {131 129 this->play(); 132 }133 130 else 134 {135 131 this->stop(); 136 }137 132 } 138 133 }
Note: See TracChangeset
for help on using the changeset viewer.