aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs
diff options
context:
space:
mode:
authorFilippos Karapetis2013-01-13 16:11:04 +0200
committerFilippos Karapetis2013-01-13 16:11:04 +0200
commit981bc20337d0a1d083473ba384398ef8777443e3 (patch)
tree9beca382f62d131382db72542638dc29b7b9db18 /engines/toltecs
parente45950b966ea6d03366b4238729ee76f4d84957f (diff)
downloadscummvm-rg350-981bc20337d0a1d083473ba384398ef8777443e3.tar.gz
scummvm-rg350-981bc20337d0a1d083473ba384398ef8777443e3.tar.bz2
scummvm-rg350-981bc20337d0a1d083473ba384398ef8777443e3.zip
TOLTECS: Replace a magic value with its appropriate enum
Diffstat (limited to 'engines/toltecs')
-rw-r--r--engines/toltecs/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/toltecs/sound.cpp b/engines/toltecs/sound.cpp
index 922ed05346..8afc0e7890 100644
--- a/engines/toltecs/sound.cpp
+++ b/engines/toltecs/sound.cpp
@@ -103,7 +103,7 @@ void Sound::internalPlaySound(int16 resIndex, int16 type, int16 volume, int16 pa
}
}
} else {
- if (type == -3) {
+ if (type == kChannelTypeSpeech) {
// Stop speech and play new sound
stopSpeech();
}