mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-21 05:43:42 -07:00
TTS message decoding fix
This commit is contained in:
parent
5958a0fbf4
commit
90b2b70b96
1 changed files with 2 additions and 1 deletions
|
@ -3017,7 +3017,7 @@ void Message_TTS_Decode(u8* srcBuf, u8* dstBuf, u32 srcOffset, u32 size) {
|
|||
|
||||
if (currChar < ' ') {
|
||||
switch (currChar) {
|
||||
case CTRL_NEWLINE:
|
||||
case MESSAGE_NEWLINE:
|
||||
dstBuf[dstIdx++] = ' ';
|
||||
break;
|
||||
case MESSAGE_COLOR:
|
||||
|
@ -3030,6 +3030,7 @@ void Message_TTS_Decode(u8* srcBuf, u8* dstBuf, u32 srcOffset, u32 size) {
|
|||
break;
|
||||
case MESSAGE_FADE2:
|
||||
case MESSAGE_SFX:
|
||||
case MESSAGE_TEXTID:
|
||||
i += 2;
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue