Browse Source

Revert "Add compatibility with minor version"

This reverts commit 6e7b13fcbeca9eca8457edb6bbc37dffe606f3a7.
nordsoft 2 years ago
parent
commit
0a6ea63b09
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/modding/CModVersion.h

+ 1 - 1
lib/modding/CModVersion.h

@@ -31,7 +31,7 @@ struct DLL_LINKAGE CModVersion
 	static CModVersion fromString(std::string from);
 	static CModVersion fromString(std::string from);
 	std::string toString() const;
 	std::string toString() const;
 
 
-	bool compatible(const CModVersion & other, bool checkMinor = true, bool checkPatch = false) const;
+	bool compatible(const CModVersion & other, bool checkMinor = false, bool checkPatch = false) const;
 	bool isNull() const;
 	bool isNull() const;
 
 
 	template <typename Handler> void serialize(Handler &h, const int version)
 	template <typename Handler> void serialize(Handler &h, const int version)