mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Ignoring savegames from newer versions of VCMI.
This commit is contained in:
		| @@ -330,7 +330,12 @@ void CLoadFile::openNextFile(const std::string &fname, int minimalVersion) | ||||
| 		*this >> myVersion;	 | ||||
| 		if(myVersion < minimalVersion) | ||||
| 		{ | ||||
| 			tlog1 << "Error: Old file format! (file " << fname << " )\n"; | ||||
| 			tlog1 << "Error: Too old file format! (file " << fname << " )\n"; | ||||
| 			sfile.release(); | ||||
| 		} | ||||
| 		if(myVersion > version) | ||||
| 		{ | ||||
| 			tlog1 << "Error: Too new file format! (file " << fname << " )\n"; | ||||
| 			sfile.release(); | ||||
| 		} | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user