Ver Fonte

Add compatibility with minor version

nordsoft há 2 anos atrás
pai
commit
6e7b13fcbe
1 ficheiros alterados com 1 adições e 1 exclusões
  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);
 	std::string toString() const;
 
-	bool compatible(const CModVersion & other, bool checkMinor = false, bool checkPatch = false) const;
+	bool compatible(const CModVersion & other, bool checkMinor = true, bool checkPatch = false) const;
 	bool isNull() const;
 
 	template <typename Handler> void serialize(Handler &h, const int version)