mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-04-28 12:27:59 +03:00
radio fixes: co-authored-by: @Malkierian
This commit is contained in:
parent
3599322983
commit
99d13ea7d2
2 changed files with 4 additions and 2 deletions
|
@ -98,7 +98,7 @@ extern s32 gRadioMsgCharIndex;
|
|||
extern UNK_TYPE F_801782E0;
|
||||
extern s32 gRadioMsgId;
|
||||
extern UNK_TYPE F_801782F0;
|
||||
extern s32 gMsgCharIsPrinting;
|
||||
extern bool gMsgCharIsPrinting;
|
||||
extern bool gHideRadio;
|
||||
extern u16* gRadioMsg;
|
||||
extern ObjectInit* gLevelObjects;
|
||||
|
|
|
@ -613,7 +613,7 @@ void Radio_Draw(void) {
|
|||
if (!(fakeTemp)) {
|
||||
ret = Audio_GetCurrentVoiceStatus();
|
||||
|
||||
if ((gGameState == GSTATE_TITLE) && gRadioMsg[gRadioMsgCharIndex + 1] != MSGCHAR_END) {
|
||||
if (gRadioMsgCharIndex < 60 && gRadioMsg[gRadioMsgCharIndex + 1] != MSGCHAR_END) {
|
||||
if (gRadioMsg[gRadioMsgCharIndex + 1] == MSGCHAR_NXT) {
|
||||
if (ret == 0) {
|
||||
gRadioState = 31;
|
||||
|
@ -621,6 +621,8 @@ void Radio_Draw(void) {
|
|||
} else {
|
||||
gRadioMsgCharIndex++;
|
||||
}
|
||||
} else if (gRadioMsgCharIndex < 60) {
|
||||
gRadioMsgCharIndex = 60;
|
||||
}
|
||||
|
||||
if (sRadioCheckMouthFlag) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue