mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Fix memory corruption during loading artifacts from mods
This commit is contained in:
		| @@ -54,8 +54,10 @@ void CIdentifierStorage::checkIdentifier(std::string & ID) | ||||
| 	} | ||||
| } | ||||
|  | ||||
| CIdentifierStorage::ObjectCallback::ObjectCallback(std::string localScope, std::string remoteScope, std::string type, | ||||
| 												   std::string name, const std::function<void(si32)> & callback, bool optional): | ||||
| CIdentifierStorage::ObjectCallback::ObjectCallback( | ||||
| 		std::string localScope, std::string remoteScope, std::string type, | ||||
| 		std::string name, const std::function<void(si32)> & callback, | ||||
| 		bool optional): | ||||
| 	localScope(localScope), | ||||
| 	remoteScope(remoteScope), | ||||
| 	type(type), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user