mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 09:56:30 +00:00
Oops, now it plays the correct music again, I hope. The sound effects seem
a bit better now, too. At least the crowd is no longer cheering when the fair is closed. svn-id: r15617
This commit is contained in:
parent
1fa79b09de
commit
f4443646e5
@ -156,7 +156,6 @@ namespace Saga {
|
||||
|
||||
// TODO: These are only in the CD version, and I can't find them in the source
|
||||
// code we got. Someone needs to verify these to get the correct values.
|
||||
// They appear to be a bit off right now.
|
||||
|
||||
#define FX_CROWD_01 56
|
||||
#define FX_CROWD_02 57
|
||||
|
@ -723,7 +723,7 @@ int Script::SF_getActorY(R_SCRIPTFUNC_PARAMS) {
|
||||
|
||||
// Script function #63 (0x3F)
|
||||
int Script::SF_playMusic(R_SCRIPTFUNC_PARAMS) {
|
||||
SDataWord_T param = thread->pop();
|
||||
SDataWord_T param = thread->pop() + 9;
|
||||
|
||||
if (param >= 9 && param <= 34)
|
||||
_vm->_music->play(param);
|
||||
@ -806,7 +806,7 @@ static struct {
|
||||
|
||||
// Script function #70 (0x46)
|
||||
int Script::SF_playSound(R_SCRIPTFUNC_PARAMS) {
|
||||
SDataWord_T param = thread->pop() - 14;
|
||||
SDataWord_T param = thread->pop() - 13;
|
||||
|
||||
if (/* param >= 0 && */ param < ARRAYSIZE(sfxTable))
|
||||
_vm->_sndRes->playSound(sfxTable[param].res, sfxTable[param].vol);
|
||||
|
Loading…
x
Reference in New Issue
Block a user