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