Update LearnVerifierEgg.cs

Order of operations being spooky
This commit is contained in:
Kurt 2022-08-29 16:08:56 -07:00
parent 40649084b3
commit bf37be3ea1

View File

@ -42,16 +42,16 @@ private static void VerifyMovesInitial(Span<MoveResult> result, ReadOnlySpan<ush
int i = 0;
if (initial.Move1 != 0)
{
result[i++] = GetMethodInitial(current[i], initial.Move1);
result[i] = GetMethodInitial(current[i], initial.Move1); i++;
if (initial.Move2 != 0)
{
result[i++] = GetMethodInitial(current[i], initial.Move2);
result[i] = GetMethodInitial(current[i], initial.Move2); i++;
if (initial.Move3 != 0)
{
result[i++] = GetMethodInitial(current[i], initial.Move3);
result[i] = GetMethodInitial(current[i], initial.Move3); i++;
if (initial.Move4 != 0)
{
result[i++] = GetMethodInitial(current[i], initial.Move4);
result[i] = GetMethodInitial(current[i], initial.Move4); i++;
}
}
}