diff --git a/Locomotives/Locomotives/CrossMap.cs b/Locomotives/Locomotives/CrossMap.cs index fc41c06..ffb23b0 100644 --- a/Locomotives/Locomotives/CrossMap.cs +++ b/Locomotives/Locomotives/CrossMap.cs @@ -26,9 +26,9 @@ _map = new int[100, 100]; _size_x = (float)_width / _map.GetLength(0); _size_y = (float)_height / _map.GetLength(1); - for (int i = 0; i < _map.GetLength(0); ++i) + for (int i = 0; i < _map.GetLength(0); i++) { - for (int j = 0; j < _map.GetLength(1); ++j) + for (int j = 0; j < _map.GetLength(1); j++) { _map[i, j] = _freeRoad; } diff --git a/Locomotives/Locomotives/RoadsMap.cs b/Locomotives/Locomotives/RoadsMap.cs index 84aeb69..28d1973 100644 --- a/Locomotives/Locomotives/RoadsMap.cs +++ b/Locomotives/Locomotives/RoadsMap.cs @@ -26,9 +26,9 @@ _map = new int[100, 100]; _size_x = (float)_width / _map.GetLength(0); _size_y = (float)_height / _map.GetLength(1); - for (int i = 0; i < _map.GetLength(0); ++i) + for (int i = 0; i < _map.GetLength(0); i++) { - for (int j = 0; j < _map.GetLength(1); ++j) + for (int j = 0; j < _map.GetLength(1); j++) { _map[i, j] = _freeRoad; } diff --git a/Locomotives/Locomotives/SimpleMap.cs b/Locomotives/Locomotives/SimpleMap.cs index 0a3969b..9c3f5b6 100644 --- a/Locomotives/Locomotives/SimpleMap.cs +++ b/Locomotives/Locomotives/SimpleMap.cs @@ -27,9 +27,9 @@ _size_x = (float)_width / _map.GetLength(0); _size_y = (float)_height / _map.GetLength(1); int counter = 0; - for (int i = 0; i < _map.GetLength(0); ++i) + for (int i = 0; i < _map.GetLength(0); i++) { - for (int j = 0; j < _map.GetLength(1); ++j) + for (int j = 0; j < _map.GetLength(1); j++) { _map[i, j] = _freeRoad; }