Changeset 6071 for code/branches/sound3/src/orxonox/gamestates
- Timestamp:
- Nov 15, 2009, 10:36:45 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/sound3/src/orxonox/gamestates/GSMainMenu.cc
r6031 r6071 102 102 if (GameMode::playsSound()) 103 103 { 104 this->ambient_->setLoop (true);105 this->ambient_->setPlayOnLoad(true); 104 this->ambient_->setLooping(true); 105 this->ambient_->play(); // works without source 106 106 } 107 107 … … 136 136 if (GameMode::playsSound()) 137 137 { 138 this->ambient_->setSource(soundPathMain_);138 this->ambient_->setAmbientSource(soundPathMain_); 139 139 } 140 140 }
Note: See TracChangeset
for help on using the changeset viewer.