2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 06:27:43 +00:00

HUD bug fixes

This commit is contained in:
Jack Andersen
2017-12-20 17:19:54 -10:00
parent c00cc6cea9
commit 053ebd41c4
17 changed files with 154 additions and 84 deletions

View File

@@ -344,7 +344,8 @@ void CTextParser::ParseText(CTextExecuteBuffer& out, const char16_t* str, int le
}
if ((len == -1 || e+1 < len) && str[e+1] != u'&')
{
out.AddString(str + b, e - b);
if (e > b)
out.AddString(str + b, e - b);
++e;
b = e;