diff options
author | James Brown | 2002-04-23 18:11:36 +0000 |
---|---|---|
committer | James Brown | 2002-04-23 18:11:36 +0000 |
commit | 72798160d86c7d1e9231642168e5ecc9418abb5f (patch) | |
tree | 72ef9c153479f5de841bb9955f73126c97adf58d /script_v2.cpp | |
parent | c62c6637bfefc5796cd1516c3136baef825426b0 (diff) | |
download | scummvm-rg350-72798160d86c7d1e9231642168e5ecc9418abb5f.tar.gz scummvm-rg350-72798160d86c7d1e9231642168e5ecc9418abb5f.tar.bz2 scummvm-rg350-72798160d86c7d1e9231642168e5ecc9418abb5f.zip |
Quick patch to allow space between -p - Also remove compiler warning
svn-id: r4065
Diffstat (limited to 'script_v2.cpp')
-rw-r--r-- | script_v2.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/script_v2.cpp b/script_v2.cpp index ad6112d055..1d220c051a 100644 --- a/script_v2.cpp +++ b/script_v2.cpp @@ -23,7 +23,9 @@ #include "stdafx.h" #include "scumm.h" + #include "sound/mididrv.h" + #include "sound/imuse.h" void Scumm::setupOpcodes2() @@ -2677,6 +2679,7 @@ void Scumm::o6_miscOps() int16 args[30]; int i; Actor *a; + IMuse *se = _imuse; //yazoo: not very nice getStackList(args, sizeof(args) / sizeof(args[0])); @@ -2849,7 +2852,8 @@ void Scumm::o6_miscOps() break; case 122: - _vars[VAR_SOUNDRESULT] = se->do_command( args[1], args[2], args[3], args[4], + + _vars[VAR_SOUNDRESULT] = (short)se->do_command( args[1], args[2], args[3], args[4], args[5], args[6], args[7], args[8] ); break; |