Fast fix
This commit is contained in:
parent
5ee4ef719c
commit
7decc64f31
@ -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)
|
if (_map[x, y] == _barrier)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user