aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/sound.cpp')
-rw-r--r--engines/sherlock/sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/sound.cpp b/engines/sherlock/sound.cpp
index 32fa99b223..b46eb67b50 100644
--- a/engines/sherlock/sound.cpp
+++ b/engines/sherlock/sound.cpp
@@ -126,7 +126,7 @@ bool Sound::playSound(const Common::String &name, WaitType waitType, int priorit
Common::String filename = name;
if (!filename.contains('.')) {
- if (_vm->getPlatform() != Common::kPlatform3DO) {
+ if (!IS_3DO) {
if (IS_SERRATED_SCALPEL) {
filename += ".SND";
} else {
@@ -147,7 +147,7 @@ bool Sound::playSound(const Common::String &name, WaitType waitType, int priorit
Audio::AudioStream *audioStream;
- if (_vm->getPlatform() != Common::kPlatform3DO) {
+ if (!IS_3DO) {
if (IS_SERRATED_SCALPEL) {
stream->skip(2);
int size = stream->readUint32BE();