|
@@ -163,7 +163,7 @@ void Cell::RecalculateTableWithCenterThisPoint() {
|
|
handleAllMoveableCellsAndUnmoveableCells_(qWithoutMoveable);
|
|
handleAllMoveableCellsAndUnmoveableCells_(qWithoutMoveable);
|
|
handleAllUnmoveableCells_(qWithoutMoveable);
|
|
handleAllUnmoveableCells_(qWithoutMoveable);
|
|
}
|
|
}
|
|
-std::vector <Cell*> Cell::actualPath(Cell* to) {//std::vector<Cell*> âêëþ÷àåòñÿ â ñåáÿ è this, è end
|
|
|
|
|
|
+std::vector <Cell*> Cell::actualPath(Cell* to) {//std::vector<Cell*> âêëþ÷à åòñÿ â ñåáÿ è this, è end
|
|
if (!to || !to->getisMoveable())return std::vector<Cell*>();
|
|
if (!to || !to->getisMoveable())return std::vector<Cell*>();
|
|
auto ret = std::vector<Cell*>(1, to);
|
|
auto ret = std::vector<Cell*>(1, to);
|
|
while (to != this) {
|
|
while (to != this) {
|