Fixed build issue from last PR.

This commit is contained in:
Dual Tachyon 2023-09-28 13:44:15 +01:00
parent f22e79bedb
commit 90781d9785

View File

@ -1636,7 +1636,7 @@ Skip:
gFlagPrepareTX = false;
}
if (gAnotherVoiceID != VOICE_ID_INVALID) {
if (gAnotherVoiceID < VOICE_ID_END)
if (gAnotherVoiceID < VOICE_ID_END) {
AUDIO_SetVoiceID(0, gAnotherVoiceID);
}
AUDIO_PlaySingleVoice(false);