|
@@ -1,5 +1,5 @@
|
|
|
-#include "../include/Cell.h"
|
|
|
-#include "../include/units/unit.h"
|
|
|
+#include "Cell.h"
|
|
|
+#include "unit.h"
|
|
|
#include <string>
|
|
|
#include <queue>
|
|
|
#include <vector>
|
|
@@ -148,7 +148,7 @@ std::vector <Cell*> Cell::actualPath(Cell* to) {
|
|
|
parent = TestParent;
|
|
|
}
|
|
|
};
|
|
|
- if(parent == nullptr)throw std::string("Don`t recalculated");
|
|
|
+ if(parent == nullptr) throw std::string("Don`t recalculated");
|
|
|
f(to->getleftUp(), to);
|
|
|
f(to->getleft(), to);
|
|
|
f(to->getleftDown(), to);
|