Fix discrepancy between CLEO and native subtitles behavior#547
Conversation
|
I do not know. Now all these commands will be spamming briefs, which was not the case previously. |
|
Is it how brief works in vanilla game? |
It checks across all 20 items. |
Makes sense, I can disable for .cs4 |
|
Is state of ADD_NEXT_MESSAGE_TO_PREVIOUS_BRIEFS respected and properly reset? |
yes. it is basically always true and reset to true after any message command. its true meaning is not add, but exclude the next message from the brief |
| auto& bigMessage = bigMessages[styleIdx]; | ||
|
|
||
| strncpy_s(bigMessage, text, sizeof(bigMessage) - 1); | ||
| CMessages::AddBigMessage(bigMessage, time, style - 1); |
There was a problem hiding this comment.
no idea, looks like a hidden one-off bug here?
There was a problem hiding this comment.
Style is clamped to valid range above, then raw value is used here.
There was a problem hiding this comment.
problem is that styleIdx is incorrect. It clamps valid style id 7 into 6. It means you can't display both style 6 and 7 on screen at the same time
Closes #517
~z~token) to CLEOPRINT_[STRING|FORMATTED][_NOW]commands