diff options
author | Matthew Hoops | 2012-05-12 21:28:13 -0400 |
---|---|---|
committer | Matthew Hoops | 2012-05-12 21:28:13 -0400 |
commit | 9e330174c8b8a0d2574746f1bc055423be263311 (patch) | |
tree | e8a0ebc760aa4006642e5deb631829796ca815ba /engines/sword2/animation.cpp | |
parent | 0f6059580e9e4eedbc66460da0e8ef4c56c830dc (diff) | |
download | scummvm-rg350-9e330174c8b8a0d2574746f1bc055423be263311.tar.gz scummvm-rg350-9e330174c8b8a0d2574746f1bc055423be263311.tar.bz2 scummvm-rg350-9e330174c8b8a0d2574746f1bc055423be263311.zip |
VIDEO: Change getElapsedTime() into getTime()
This name change accompanies a slight meaning change; now it means the current time position from the beginning of the video and not from starting the video.
Diffstat (limited to 'engines/sword2/animation.cpp')
-rw-r--r-- | engines/sword2/animation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword2/animation.cpp b/engines/sword2/animation.cpp index e77ae98163..90ee7375ab 100644 --- a/engines/sword2/animation.cpp +++ b/engines/sword2/animation.cpp @@ -410,11 +410,11 @@ DXADecoderWithSound::DXADecoderWithSound(Audio::Mixer *mixer, Audio::SoundHandle : _mixer(mixer), _bgSoundHandle(bgSoundHandle) { } -uint32 DXADecoderWithSound::getElapsedTime() const { +uint32 DXADecoderWithSound::getTime() const { if (_mixer->isSoundHandleActive(*_bgSoundHandle)) return _mixer->getSoundElapsedTime(*_bgSoundHandle); - return DXADecoder::getElapsedTime(); + return DXADecoder::getTime(); } /////////////////////////////////////////////////////////////////////////////// |