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 7decc64f31 - Show all commits

View File

@ -118,14 +118,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;
}
}
}