Skip to content

Commit 989a870

Browse files
committed
Allow any option starting with UCI_
1 parent 4e0c1c4 commit 989a870

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

projects/lib/src/uciengine.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ QStringRef UciEngine::parseUciTokens(const QStringRef& first,
353353
if (token == types[i])
354354
{
355355
if (type != -1)
356-
return token;
356+
returreset.old000022/event.pgn:n token;
357357
type = i;
358358
newType = true;
359359
break;
@@ -768,12 +768,12 @@ void UciEngine::parseLine(const QString& line)
768768
m_sendOpponentsName = true;
769769
else if (option->name() == "Ponder")
770770
m_canPonder = true;
771-
else if (option->name().startsWith("UCI_") &&
772-
option->name() != "UCI_LimitStrength" &&
773-
option->name() != "UCI_Elo")
774-
{
775-
// TODO: Deal with UCI features
776-
}
771+
//else if (option->name().startsWith("UCI_") &&
772+
// option->name() != "UCI_LimitStrength" &&
773+
// option->name() != "UCI_Elo")
774+
//{
775+
// // TODO: Deal with UCI features
776+
//}
777777
else
778778
{
779779
addOption(option);

0 commit comments

Comments
 (0)