Voice on stock- 0xF0 to 0xF7 changes sound volume only so countdown sounds works

CZ translation fix for mix slowdowns
This commit is contained in:
mhotar@gmail.com
2012-08-19 21:48:09 +00:00
parent a4e7ecca55
commit 14598e9d59
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -107,11 +107,11 @@ void t_voice::voice_process(void)
VoiceSerial += 260;
}
VoiceTimer = 16;
if ((VoiceSerial & 0x01F0) == 0xF0) { // Looking for F0-F7 or FF
if (VoiceSerial == 0xFF) {
if (VoiceSerial == 0xFF) { // Looking for FF
VoiceShift = 1;
return;
}
if ((VoiceSerial & 0x01F8) == 0xF0) { // Looking for F0-F7
VoiceSerial |= 0xFF00;
VoiceTimer = 40;
}