mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 10:11:04 +00:00
- fixed a few issues.
This commit is contained in:
parent
59ebb10512
commit
1f1b927b6b
5 changed files with 22 additions and 14 deletions
|
@ -244,18 +244,20 @@ bool FStringTable::ParseLanguageCSV(int lumpnum, const TArray<uint8_t> &buffer)
|
|||
if (filtercol > -1)
|
||||
{
|
||||
auto filterstr = row[filtercol];
|
||||
auto filter = filterstr.Split(" ", FString::TOK_SKIPEMPTY);
|
||||
bool ok = false;
|
||||
for (auto &entry : filter)
|
||||
if (filterstr.IsNotEmpty())
|
||||
{
|
||||
if (validFilter(entry))
|
||||
auto filter = filterstr.Split(" ", FString::TOK_SKIPEMPTY);
|
||||
bool ok = false;
|
||||
for (auto& entry : filter)
|
||||
{
|
||||
ok = true;
|
||||
break;
|
||||
if (validFilter(entry))
|
||||
{
|
||||
ok = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!ok) continue;
|
||||
}
|
||||
if (!ok) continue;
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue