diff options
author | Filippos Karapetis | 2013-01-13 16:11:04 +0200 |
---|---|---|
committer | Filippos Karapetis | 2013-01-13 16:11:04 +0200 |
commit | 981bc20337d0a1d083473ba384398ef8777443e3 (patch) | |
tree | 9beca382f62d131382db72542638dc29b7b9db18 /engines/toltecs | |
parent | e45950b966ea6d03366b4238729ee76f4d84957f (diff) | |
download | scummvm-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.cpp | 2 |
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(); } |