mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
Fix old savegame corruption in PR 301
This commit is contained in:
parent
872c2363be
commit
648b122b10
@ -144,8 +144,10 @@ void CArtifact::fillWarMachine()
|
|||||||
case ArtifactID::AMMO_CART:
|
case ArtifactID::AMMO_CART:
|
||||||
warMachine = CreatureID::AMMO_CART;
|
warMachine = CreatureID::AMMO_CART;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
warMachine = CreatureID::NONE;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
warMachine = CreatureID::NONE; //this artifact is not a creature
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CGrowingArtifact::levelUpArtifact (CArtifactInstance * art)
|
void CGrowingArtifact::levelUpArtifact (CArtifactInstance * art)
|
||||||
|
Loading…
Reference in New Issue
Block a user