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:
parent
4d701736f9
commit
a827c083d8
@ -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;
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user