- Timestamp:
- Dec 22, 2009, 2:07:44 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/sound/AmbientSound.cc
r6388 r6394 113 113 if (GameMode::playsSound()) 114 114 { 115 std::string path = "ambient/" + MoodManager::getInstance().getMood() + "/"+ source;115 const std::string& path = "ambient/" + MoodManager::getInstance().getMood() + '/' + source; 116 116 shared_ptr<ResourceInfo> fileInfo = Resource::getInfo(path); 117 117 if (fileInfo != NULL)
Note: See TracChangeset
for help on using the changeset viewer.