소스 검색

Remove useless code

DJWarmonger 7 년 전
부모
커밋
a827c083d8
2개의 변경된 파일0개의 추가작업 그리고 6개의 파일을 삭제
  1. 0 5
      AI/VCAI/VCAI.cpp
  2. 0 1
      AI/VCAI/VCAI.h

+ 0 - 5
AI/VCAI/VCAI.cpp

@@ -2103,11 +2103,6 @@ void VCAI::tryRealize(Goals::Trade & g) //trade
 	}
 }
 
-void VCAI::tryRealize(Goals::Build & g)
-{
-	throw cannotFulfillGoalException("BUILD is not an elementar goal!");
-}
-
 void VCAI::tryRealize(Goals::BuyArmy & g)
 {
 	auto t = g.town;

+ 0 - 1
AI/VCAI/VCAI.h

@@ -125,7 +125,6 @@ public:
 	void tryRealize(Goals::BuildThis & g);
 	void tryRealize(Goals::DigAtTile & g);
 	void tryRealize(Goals::Trade & g);
-	void tryRealize(Goals::Build & g);
 	void tryRealize(Goals::BuyArmy & g);
 	void tryRealize(Goals::Invalid & g);
 	void tryRealize(Goals::AbstractGoal & g);