LabWork02 PIbd-21 Zacharchenko #2

Merged
eegov merged 9 commits from LabWork02 into master 2022-10-14 08:54:17 +04:00
Showing only changes of commit 3199cf3a61 - Show all commits

View File

@ -109,14 +109,13 @@ namespace DoubleDeckerBus
for (int y = startY; y <= endY + 1; y++)
for (int y = startY; y < endY; y++)
{
for (int x = startX; x <= endX + 1; x++)
for (int x = startX; x < endX; x++)
{
if (_map[x, y] == _barrier)
{
return true;
break;
}
}
}