aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v8.cpp
diff options
context:
space:
mode:
authorMax Horn2003-12-22 08:22:04 +0000
committerMax Horn2003-12-22 08:22:04 +0000
commit1e5496b2c8fc998e9210d90e05ff006e0409918a (patch)
tree30bc67d198403af556e378733d95d38d9261d802 /scumm/script_v8.cpp
parent44f1ed75fd76fd9842acd5784a31672a37536996 (diff)
downloadscummvm-rg350-1e5496b2c8fc998e9210d90e05ff006e0409918a.tar.gz
scummvm-rg350-1e5496b2c8fc998e9210d90e05ff006e0409918a.tar.bz2
scummvm-rg350-1e5496b2c8fc998e9210d90e05ff006e0409918a.zip
Moved bundle music code from class Sound to IMuseDigital (seems more natural; and allows for various cleanup)
svn-id: r11846
Diffstat (limited to 'scumm/script_v8.cpp')
-rw-r--r--scumm/script_v8.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp
index 5a45b9f8eb..123451ca8d 100644
--- a/scumm/script_v8.cpp
+++ b/scumm/script_v8.cpp
@@ -24,6 +24,7 @@
#include "scumm/actor.h"
#include "scumm/akos.h"
#include "scumm/charset.h"
+#include "scumm/imuse_digi.h"
#include "scumm/intern.h"
#include "scumm/object.h"
#include "scumm/resource.h"
@@ -1483,7 +1484,7 @@ void ScummEngine_v8::o8_kernelGetFunctions() {
case 0xE1: // imGetMusicPosition
warning("o8_kernelGetFunctions: imGetMusicPosition(stub)");
// FIXME - get this stuff to be properly implemented
- push(_sound->_bundleSongPosInMs);
+ push(_imuseDigital->_bundleSongPosInMs);
break;
case 0xE2: // musicLipSyncWidth
case 0xE3: // musicLipSyncHeight