1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

Remove useless code

This commit is contained in:
DJWarmonger 2018-08-06 21:54:17 +02:00
parent 4d701736f9
commit a827c083d8
2 changed files with 0 additions and 6 deletions

View File

@ -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) void VCAI::tryRealize(Goals::BuyArmy & g)
{ {
auto t = g.town; auto t = g.town;

View File

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