Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 4, 2009, 4:03:03 PM (15 years ago)
Author:
youngk
Message:

Implemented automatic ambient sound file path fetch according to current mood.
Valid moods are: default and dnb
BUG Loading of a second sound fails (independent of the file used). Probably an error in BaseSound::setSource().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/sound3/src/orxonox/gamestates/GSMainMenu.cc

    r5956 r6031  
    128128        void GSMainMenu::setConfigValues()
    129129    {
    130         SetConfigValue(soundPathMain_, "ambient/mainmenu.wav")
     130        SetConfigValue(soundPathMain_, "mainmenu.wav")
    131131            .description("Contains the path to the main menu sound file.")
    132132                        .callback(this, &GSMainMenu::reloadSound);
Note: See TracChangeset for help on using the changeset viewer.