1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +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

@@ -410,26 +410,6 @@ void CCreature::serializeJson(JsonSerializeFormat & handler)
}
}
void CCreature::fillWarMachine()
{
switch (idNumber)
{
case CreatureID::CATAPULT: //Catapult
warMachine = ArtifactID::CATAPULT;
break;
case CreatureID::BALLISTA: //Ballista
warMachine = ArtifactID::BALLISTA;
break;
case CreatureID::FIRST_AID_TENT: //First Aid tent
warMachine = ArtifactID::FIRST_AID_TENT;
break;
case CreatureID::AMMO_CART: //Ammo cart
warMachine = ArtifactID::AMMO_CART;
break;
}
warMachine = ArtifactID::NONE; //this creature is not artifact
}
CCreatureHandler::CCreatureHandler()
: expAfterUpgrade(0)
{