1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00

Artifacts: replace few more ints by ArtifactID

This commit is contained in:
ArseniyShestakov
2015-11-07 11:46:58 +03:00
parent e645b46aed
commit 7eebcb9d60
4 changed files with 5 additions and 5 deletions

View File

@ -907,7 +907,7 @@ void CGameState::initDuel()
if(!ss.spells.empty())
{
h->putArtifact(ArtifactPosition::SPELLBOOK, CArtifactInstance::createNewArtifactInstance(0));
h->putArtifact(ArtifactPosition::SPELLBOOK, CArtifactInstance::createNewArtifactInstance(ArtifactID::SPELLBOOK));
boost::copy(ss.spells, std::inserter(h->spells, h->spells.begin()));
}