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:
@ -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>();
|
||||
|
Reference in New Issue
Block a user