mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	- Correct handling of who manages which players(player count may differ from initial start options for a RMG map) - Fixed warning
This commit is contained in:
		| @@ -779,7 +779,7 @@ void CArtHandler::clearHlpLists() | ||||
| bool CArtHandler::legalArtifact(int id) | ||||
| { | ||||
| 	return (artifacts[id]->possibleSlots[ArtBearer::HERO].size() || | ||||
| 			artifacts[id]->possibleSlots[ArtBearer::COMMANDER].size() && VLC->modh->modules.COMMANDERS) || | ||||
| 			(artifacts[id]->possibleSlots[ArtBearer::COMMANDER].size() && VLC->modh->modules.COMMANDERS)) || | ||||
| 			(artifacts[id]->possibleSlots[ArtBearer::CREATURE].size() && VLC->modh->modules.STACK_ARTIFACT); | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user