Changeset 8706 for code/trunk/src/orxonox/sound
- Timestamp:
- Jun 14, 2011, 8:53:28 PM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/sound/AmbientSound.cc
r8351 r8706 82 82 { 83 83 this->ambientSource_ = source; 84 this->moodChanged( this->getMood());84 this->moodChanged(MoodManager::getInstance().getMood()); 85 85 } 86 86 … … 89 89 if (GameMode::playsSound()) 90 90 { 91 const std::string& path = "ambient/" + MoodManager::getInstance().getMood()+ '/' + this->ambientSource_;91 const std::string& path = "ambient/" + mood + '/' + this->ambientSource_; 92 92 shared_ptr<ResourceInfo> fileInfo = Resource::getInfo(path); 93 93 if (fileInfo != NULL)
Note: See TracChangeset
for help on using the changeset viewer.