From cbaa2b5a4adaf24a4a4de25f83b3d9b2e9d9111b Mon Sep 17 00:00:00 2001 From: Sonic Dreamcaster Date: Sat, 7 Dec 2024 02:45:37 -0300 Subject: [PATCH] definitive (hopefully) radio crash fix. --- src/engine/fox_radio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/fox_radio.c b/src/engine/fox_radio.c index 847cd40b..eb443767 100644 --- a/src/engine/fox_radio.c +++ b/src/engine/fox_radio.c @@ -613,8 +613,8 @@ void Radio_Draw(void) { if (!(fakeTemp)) { ret = Audio_GetCurrentVoiceStatus(); - if (gRadioMsgCharIndex < 60) { - if (gRadioMsg[gRadioMsgCharIndex + 1] == MSGCHAR_NXT && *gRadioMsg != 38) { + if (gRadioMsg[gRadioMsgCharIndex + 1] != MSGCHAR_END) { + if (gRadioMsg[gRadioMsgCharIndex + 1] == MSGCHAR_NXT) { if (ret == 0) { gRadioState = 31; }