Mercurial > fife-parpg
diff engine/core/audio/soundemitter.h @ 174:362fe23920b9
* Fixed a small typo: soundemitter:setRoleoff -> soundemitter:setRolloff
author | nihathrael@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sun, 25 Jan 2009 12:49:27 +0000 |
parents | 454ed60ad7b2 |
children | 11896fe26c1d |
line wrap: on
line diff
--- a/engine/core/audio/soundemitter.h Sat Jan 24 22:26:46 2009 +0000 +++ b/engine/core/audio/soundemitter.h Sun Jan 25 12:49:27 2009 +0000 @@ -68,10 +68,10 @@ /** Sets the AL_ROLEOFF_FACTOR. Rolloff factor judges the strength of attenuation over distance. * - * @param roleoff Roleoff factor. You'll need to do a lot of testing to find a value which suits your needs. + * @param rolloff Rolloff factor. You'll need to do a lot of testing to find a value which suits your needs. */ - void setRoleoff(float roleoff) { - alSourcef (m_source, AL_ROLLOFF_FACTOR, roleoff); + void setRolloff(float rolloff) { + alSourcef (m_source, AL_ROLLOFF_FACTOR, rolloff); } /** Sets the sound clip to be used by this emitter.