浏览代码

Add compatibility with minor version

nordsoft 2 年之前
父节点
当前提交
6e7b13fcbe
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)