Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 8, 2011, 6:26:51 AM (14 years ago)
Author:
rgrieder
Message:

Removed unnecessary changes in mac_osx branch.

Location:
code/branches/mac_osx/src/orxonox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/mac_osx/src/orxonox/MoodManager.cc

    r7767 r8043  
    5050
    5151        // Checking for the existence of the folder for the default mood
    52         const std::string& patha = "ambient/" + MoodManager::defaultMood_ + "/.";
    53         if (!Resource::exists(patha))
     52        const std::string& path = "ambient/" + MoodManager::defaultMood_ + "/.";
     53        if (!Resource::exists(path))
    5454        {
    5555            // TODO: Non-fatal error handling (non-critical resource missing)
  • code/branches/mac_osx/src/orxonox/sound/SoundManager.cc

    r7767 r8043  
    8383        SetConfigValue(bDisableSound_, false);
    8484        if (bDisableSound_)
    85             ThrowException(InitialisationAborted, "Sound: Not loading at all");       
     85            ThrowException(InitialisationAborted, "Sound: Not loading at all");
    8686        if (!alutInitWithoutContext(NULL, NULL))
    8787            ThrowException(InitialisationFailed, "Sound Error: ALUT initialisation failed: " << alutGetErrorString(alutGetError()));
     
    131131        GameMode::setPlaysSound(true);
    132132        Loki::ScopeGuard resetPlaysSoundGuard = Loki::MakeGuard(&GameMode::setPlaysSound, false);
    133        
     133
    134134        // Get some information about the sound
    135135        if (const char* version = alGetString(AL_VERSION))
    136             COUT(4) << "Sound: --- OpenAL Version: " << version << std::endl;           
     136            COUT(4) << "Sound: --- OpenAL Version: " << version << std::endl;
    137137        if (const char* vendor = alGetString(AL_VENDOR))
    138138            COUT(4) << "Sound: --- OpenAL Vendor : " << vendor << std::endl;
Note: See TracChangeset for help on using the changeset viewer.