Browse Source

Remove useless code

DJWarmonger 7 years ago
parent
commit
a827c083d8
2 changed files with 0 additions and 6 deletions
  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);