| 494 | //----------------------------------------------------------------------------- |
| 495 | |
| 496 | void SFXSound::_updatePitch() |
| 497 | { |
| 498 | F32 oldEffectivePitch = mEffectivePitch; |
| 499 | Parent::_updatePitch(); |
| 500 | |
| 501 | if( mVoice != NULL && oldEffectivePitch != mEffectivePitch ) |
| 502 | mVoice->setPitch( mEffectivePitch ); |
| 503 | } |
| 504 | |
| 505 | //----------------------------------------------------------------------------- |
| 506 |