Исправления
This commit is contained in:
parent
ceea6b5010
commit
396df2c24c
@ -62,9 +62,9 @@ namespace Artilleries
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = 0; i < _map.GetLength(0); i++)
|
for (int i = 2; i < _map.GetLength(0); i++)
|
||||||
{
|
{
|
||||||
for (int j = 0; j < _map.GetLength(1); j++)
|
for (int j = 2; j < _map.GetLength(1); j++)
|
||||||
{
|
{
|
||||||
_drawingObject.SetObject((int) (i * _size_x), (int) (j * _size_y), _width, _height);
|
_drawingObject.SetObject((int) (i * _size_x), (int) (j * _size_y), _width, _height);
|
||||||
if (!ObjectIntersects()) return true;
|
if (!ObjectIntersects()) return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user