aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parallaction.cpp
diff options
context:
space:
mode:
authorTravis Howell2009-03-28 09:56:39 +0000
committerTravis Howell2009-03-28 09:56:39 +0000
commit49791796219a0dbd0638b84b79ea6ee53f95cc79 (patch)
treead4f7492a70d7128c6c87ac5a92907510d83bb1d /engines/parallaction/parallaction.cpp
parent9131f20587485237956ce8971e12dab533e651da (diff)
downloadscummvm-rg350-49791796219a0dbd0638b84b79ea6ee53f95cc79.tar.gz
scummvm-rg350-49791796219a0dbd0638b84b79ea6ee53f95cc79.tar.bz2
scummvm-rg350-49791796219a0dbd0638b84b79ea6ee53f95cc79.zip
Add sound effects support for PC version of BRA.
svn-id: r39716
Diffstat (limited to 'engines/parallaction/parallaction.cpp')
-rw-r--r--engines/parallaction/parallaction.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/engines/parallaction/parallaction.cpp b/engines/parallaction/parallaction.cpp
index ac7a2cada9..ffb336f40f 100644
--- a/engines/parallaction/parallaction.cpp
+++ b/engines/parallaction/parallaction.cpp
@@ -960,10 +960,12 @@ bool CharacterName::dummy() const {
}
void Parallaction::beep() {
- _soundMan->execute(SC_SETSFXCHANNEL, 3);
- _soundMan->execute(SC_SETSFXVOLUME, 127);
- _soundMan->execute(SC_SETSFXLOOPING, (int32)0);
- _soundMan->execute(SC_PLAYSFX, "beep");
+ if (getGameType() == GType_Nippon) {
+ _soundMan->execute(SC_SETSFXCHANNEL, 3);
+ _soundMan->execute(SC_SETSFXVOLUME, 127);
+ _soundMan->execute(SC_SETSFXLOOPING, (int32)0);
+ _soundMan->execute(SC_PLAYSFX, "beep");
+ }
}
void Parallaction::scheduleLocationSwitch(const char *location) {