diff options
| author | Max Horn | 2011-02-09 00:12:58 +0000 |
|---|---|---|
| committer | Max Horn | 2011-02-09 00:12:58 +0000 |
| commit | 805a5b2996ea331b4503b40e70ff85609a0f0883 (patch) | |
| tree | cdca8dbb916f9b5286f09b829217263660d4df77 /engines/sword2 | |
| parent | 633b8ed27784814e264edd943797e0c6d44366db (diff) | |
| download | scummvm-rg350-805a5b2996ea331b4503b40e70ff85609a0f0883.tar.gz scummvm-rg350-805a5b2996ea331b4503b40e70ff85609a0f0883.tar.bz2 scummvm-rg350-805a5b2996ea331b4503b40e70ff85609a0f0883.zip | |
VIDEO: In overloaded methods, invoke correct parent implementation
This should not cause any code behavior changes at this time, but if any
of the intermediate VideoDecoder classes ever starts to overload stuff,
this would become important.
svn-id: r55841
Diffstat (limited to 'engines/sword2')
| -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 dd06456656..3c506c0dae 100644 --- a/engines/sword2/animation.cpp +++ b/engines/sword2/animation.cpp @@ -56,7 +56,7 @@ MoviePlayer::MoviePlayer(Sword2Engine *vm, Audio::Mixer *snd, OSystem *system, A _black = 0; } -MoviePlayer:: ~MoviePlayer() { +MoviePlayer::~MoviePlayer() { delete _bgSoundHandle; delete _decoder; } @@ -345,7 +345,7 @@ uint32 DXADecoderWithSound::getElapsedTime() const { if (_mixer->isSoundHandleActive(*_bgSoundHandle)) return _mixer->getSoundElapsedTime(*_bgSoundHandle); - return VideoDecoder::getElapsedTime(); + return DXADecoder::getElapsedTime(); } /////////////////////////////////////////////////////////////////////////////// |
