Skip to content

Commit 92bbf0c

Browse files
committed
Up
1 parent bac8330 commit 92bbf0c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cleo_plugins/DebugUtils/ScriptLog.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,9 +1090,7 @@ CLEO::OpcodeResult ScriptLog::OnScriptOpcodeProcessAfter(CLEO::CRunningScript* s
10901090
{
10911091
if (!first) { line += ", "; first = false; }
10921092
line += "condition: ";
1093-
if (script->NotFlag) line += "not(";
1094-
line += m_conditionResultValue ? "true" : "false";
1095-
if (script->NotFlag) line += ")";
1093+
line += (m_conditionResultValue ^ script->NotFlag) ? "true" : "false";
10961094
}
10971095
}
10981096

0 commit comments

Comments
 (0)