1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

vcmi: remove old war machine code

This commit is contained in:
Konstantin
2023-03-05 19:12:47 +03:00
parent 84fa19dadf
commit a364e39b50
4 changed files with 0 additions and 45 deletions

View File

@ -197,28 +197,6 @@ void CArtifact::serializeJson(JsonSerializeFormat & handler)
}
void CArtifact::fillWarMachine()
{
switch(id)
{
case ArtifactID::CATAPULT:
warMachine = CreatureID::CATAPULT;
break;
case ArtifactID::BALLISTA:
warMachine = CreatureID::BALLISTA;
break;
case ArtifactID::FIRST_AID_TENT:
warMachine = CreatureID::FIRST_AID_TENT;
break;
case ArtifactID::AMMO_CART:
warMachine = CreatureID::AMMO_CART;
break;
default:
warMachine = CreatureID::NONE;
break;
}
}
void CGrowingArtifact::levelUpArtifact (CArtifactInstance * art)
{
auto b = std::make_shared<Bonus>();