- Timestamp:
- May 26, 2011, 4:58:18 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/orxonox/sound/AmbientSound.cc
r8351 r8608 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.