From bc77ba431a7ccfc9a961df5fa8f1531e2f72fd44 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sat, 1 May 2004 10:42:23 +0000 Subject: Simplified the handling of sound effects. It's not necessary for the driver to keep its own copy of the sound data. It could be even further simplified (I don't really see any reason for having two different sound queues), but I seem to have reached a point of stability here and I don't want to jinx it by making further changes yet. svn-id: r13705 --- sword2/driver/animation.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sword2/driver/animation.cpp') diff --git a/sword2/driver/animation.cpp b/sword2/driver/animation.cpp index 53dad119f5..b7d177ed84 100644 --- a/sword2/driver/animation.cpp +++ b/sword2/driver/animation.cpp @@ -326,8 +326,8 @@ int32 MoviePlayer::play(const char *filename, MovieTextObject *text[], byte *mus // the animated cut-scenes, so this seems like a good place to close // both of them. - _vm->_sound->closeFx(-1); - _vm->_sound->closeFx(-2); + _vm->_sound->stopFx(-1); + _vm->_sound->stopFx(-2); return RD_OK; #else @@ -478,8 +478,8 @@ int32 MoviePlayer::playDummy(const char *filename, MovieTextObject *text[], byte // the animated cut-scenes, so this seems like a good place to close // both of them. - _vm->_sound->closeFx(-1); - _vm->_sound->closeFx(-2); + _vm->_sound->stopFx(-1); + _vm->_sound->stopFx(-2); return RD_OK; } -- cgit v1.2.3