| 
					
				 | 
			
			
				@@ -885,10 +885,13 @@ void CTownHandler::loadTown(CTown * town, const JsonNode & source) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		town->namesCount += 1;
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	VLC->modh->identifiers.requestIdentifier(source["moatAbility"], [=](si32 ability)
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	if (!source["moatAbility"].isNull()) // VCMI 1.2 compatibility code
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	{
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		town->moatAbility = SpellID(ability);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	});
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		VLC->modh->identifiers.requestIdentifier( "spell", source["moatAbility"], [=](si32 ability)
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		{
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			town->moatAbility = SpellID(ability);
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		});
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	}
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	//  Horde building creature level
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	for(const JsonNode &node : source["horde"].Vector())
 
			 |