Skip to content
Permalink
Browse files

- fixed localization support for intermission texts

  • Loading branch information...
alexey-lysiuk committed Oct 27, 2019
1 parent ae2f7dd commit 958b52d3aaf6f2466e9908f687997d26be8bfafa
Showing with 7 additions and 1 deletion.
  1. +7 −1 src/intermission/intermission_parse.cpp
@@ -332,12 +332,18 @@ bool FIntermissionActionTextscreen::ParseKey(FScanner &sc)
else if (sc.Compare("Text"))
{
sc.MustGetToken('=');
TArray<FString> lines;
do
{
sc.MustGetToken(TK_StringConst);
mText << sc.String << '\n';
lines.Push(sc.String);
}
while (sc.CheckToken(','));
if (lines.Size() == 1 && lines[0][0] == '$')
mText = lines[0];
else
for (const FString& line : lines)
mText << line << '\n';
return true;
}
else if (sc.Compare("TextColor"))

0 comments on commit 958b52d

Please sign in to comment.
You can’t perform that action at this time.