Remove redundant negation in a few expressions (#25940)

This commit is contained in:
matheusvb3 authored and GitHub committed 2026-02-03 20:51:12 +01:00
1 parent 40d974d891
commit e7246eb2f1
4 files changed
+16 -17

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ protected:
// elapsed. Each step, check that the tile they are standing on is not marked as forbidden in the test data
// (red neon ground type).
int step = 0;
while (!(*pos == goal) && step < expectedSteps)
while (*pos != goal && step < expectedSteps)
{
peep->PerformNextAction();
++step;