Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6397


Ignore:
Timestamp:
Dec 22, 2009, 8:44:07 PM (15 years ago)
Author:
rgrieder
Message:

Fixed obviously pointless statement order in BaseSound.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/orxonox/sound/BaseSound.cc

    r6388 r6397  
    181181        if (alIsSource(this->audioSource_))
    182182        {
     183            alSourcef(this->audioSource_, AL_PITCH, pitch);
    183184            if (int error = alGetError())
    184185                COUT(2) << "Sound: Error setting pitch: " << SoundManager::getALErrorString(error) << std::endl;
    185             alSourcef(this->audioSource_, AL_PITCH, pitch);
    186186        }
    187187    }
Note: See TracChangeset for help on using the changeset viewer.