소스 검색

ЭТО ТОЧНО ПОСЛЕДНИЙ КОММИТ

GeorgeKolog 6 년 전
부모
커밋
fc63bf77b5
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 3 3
      source/Cell.cpp
  2. 1 1
      source/units/unit.cpp

+ 3 - 3
source/Cell.cpp

@@ -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);

+ 1 - 1
source/units/unit.cpp

@@ -1,6 +1,6 @@
 #include "abstractfactory.h"
 #include "units/unit.h"
-#include "../include/Cell.h"
+#include "Cell.h"
 
 #include <iostream>
 #include <algorithm>