TOLTECS: Replace a magic value with its appropriate enum

This commit is contained in:
Filippos Karapetis 2013-01-13 16:11:04 +02:00
parent e45950b966
commit 981bc20337

View File

@ -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();
}