Merge branch 'LabWork02' of http://student.git.athene.tech/shadowik/PIbd-21_Zaharchenko_M.I._DoubleDeckerBus._Base into LabWork02
This commit is contained in:
commit
3199cf3a61
@ -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)
|
if (_map[x, y] == _barrier)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user