Changeset 11071 for code/trunk/src/orxonox/sound/AmbientSound.cc
- Timestamp:
- Jan 17, 2016, 10:29:21 PM (8 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
r10624 r11071 92 92 { 93 93 const std::string& path = "ambient/" + mood + '/' + this->ambientSource_; 94 s hared_ptr<ResourceInfo> fileInfo = Resource::getInfo(path);95 if (fileInfo != NULL)94 std::shared_ptr<ResourceInfo> fileInfo = Resource::getInfo(path); 95 if (fileInfo != nullptr) 96 96 { 97 97 orxout(user_info) << "Loading ambient sound " << path << "..." << endl; // TODO: make this output internal if we implement sound streaming
Note: See TracChangeset
for help on using the changeset viewer.