1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-10-31 00:07:39 +02:00

Use ArtifactID instead of int when possible

This commit is contained in:
ArseniyShestakov
2014-12-24 18:49:12 +03:00
parent 5995c975d3
commit 937ef0227b
8 changed files with 11 additions and 10 deletions

View File

@@ -1229,7 +1229,7 @@ void CMapLoaderH3M::readObjects()
if(objTempl.id == Obj::SPELL_SCROLL)
{
spellID = reader.readUInt32();
artID = 1;
artID = ArtifactID::SPELL_SCROLL;
}
else if(objTempl.id == Obj::ARTIFACT)
{