diff options
author | Jonathan Gray | 2003-09-02 22:38:53 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-09-02 22:38:53 +0000 |
commit | e17a451ac59928d41aca1966e906bda064646b86 (patch) | |
tree | 920bc28e491b6d5cbcd586810287122290c88508 | |
parent | fee1cc04eaad2ade518ce8c1967fb21a32b6035a (diff) | |
download | scummvm-rg350-e17a451ac59928d41aca1966e906bda064646b86.tar.gz scummvm-rg350-e17a451ac59928d41aca1966e906bda064646b86.tar.bz2 scummvm-rg350-e17a451ac59928d41aca1966e906bda064646b86.zip |
remove shadow'd var by using variable name from prototype
svn-id: r9979
-rw-r--r-- | sound/mixer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp index cf11e62848..b6b3a5d665 100644 --- a/sound/mixer.cpp +++ b/sound/mixer.cpp @@ -411,7 +411,7 @@ void SoundMixer::pauseID(int id, bool paused) { } } -void SoundMixer::pauseHandle(PlayingSoundHandle handle, bool pause) { +void SoundMixer::pauseHandle(PlayingSoundHandle handle, bool paused) { StackLock lock(_mutex); // Simply ignore pause/unpause requests for handles of sound that alreayd terminated @@ -426,7 +426,7 @@ void SoundMixer::pauseHandle(PlayingSoundHandle handle, bool pause) { } if (_channels[index]) - _channels[index]->pause(pause); + _channels[index]->pause(paused); } bool SoundMixer::hasActiveSFXChannel() { |