diff options
Diffstat (limited to 'engines/sword1')
| -rw-r--r-- | engines/sword1/animation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword1/animation.cpp b/engines/sword1/animation.cpp index 7dab38b500..de35b8122c 100644 --- a/engines/sword1/animation.cpp +++ b/engines/sword1/animation.cpp @@ -77,8 +77,8 @@ MoviePlayer::MoviePlayer(SwordEngine *vm, Text *textMan, Audio::Mixer *snd, OSys } MoviePlayer::~MoviePlayer() { - delete _decoder; delete _bgSoundHandle; + delete _decoder; } /** @@ -318,7 +318,7 @@ uint32 DXADecoderWithSound::getElapsedTime() const { if (_mixer->isSoundHandleActive(*_bgSoundHandle)) return _mixer->getSoundElapsedTime(*_bgSoundHandle); - return VideoDecoder::getElapsedTime(); + return DXADecoder::getElapsedTime(); } /////////////////////////////////////////////////////////////////////////////// |
