mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Enabled new secondary skills to be created (#438)
* Universities, Scholars and Witch Huts may offer new skills * Moved encode/decodeSkill to CSkillHandler * Refactored CSkill interface and CSkill::LevelInfo image storage * Legacy game constants renamed to ORIGINAL_XXX_QUANTITY
This commit is contained in:
		
				
					committed by
					
						 ArseniyShestakov
						ArseniyShestakov
					
				
			
			
				
	
			
			
			
						parent
						
							b09a54fa9c
						
					
				
				
					commit
					6ddcb079a4
				
			| @@ -240,7 +240,7 @@ std::vector<CIdentifierStorage::ObjectData> CIdentifierStorage::getPossibleIdent | ||||
| 		{ | ||||
| 			// allow only available to all core mod or dependencies | ||||
| 			auto myDeps = VLC->modh->getModData(request.localScope).dependencies; | ||||
| 			if (request.remoteScope == "core" || myDeps.count(request.remoteScope)) | ||||
| 			if(request.remoteScope == "core" || request.remoteScope == request.localScope || myDeps.count(request.remoteScope)) | ||||
| 				allowedScopes.insert(request.remoteScope); | ||||
| 		} | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user