From fb1cd5e161a96e0ed9489199be4e9613cc505598 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Tue, 1 Oct 2024 14:19:35 +0200 Subject: [PATCH] [godot] Fix version check. --- spine-godot/spine_godot/SpineSkeletonFileResource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spine-godot/spine_godot/SpineSkeletonFileResource.cpp b/spine-godot/spine_godot/SpineSkeletonFileResource.cpp index 9d8d8fd5c..b9ae39a70 100644 --- a/spine-godot/spine_godot/SpineSkeletonFileResource.cpp +++ b/spine-godot/spine_godot/SpineSkeletonFileResource.cpp @@ -177,7 +177,7 @@ Error SpineSkeletonFileResource::copy_from(const Ref &p_resource) { #if VERSION_MAJOR > 3 RES SpineSkeletonFileResourceFormatLoader::load(const String &path, const String &original_path, Error *error, bool use_sub_threads, float *progress, CacheMode cache_mode) { #else -#if MINOR_VERSION > 5 +#if VERSION_MINOR > 5 RES SpineSkeletonFileResourceFormatLoader::load(const String &path, const String &original_path, Error *error, bool no_subresource_cache) { #else RES SpineSkeletonFileResourceFormatLoader::load(const String &path, const String &original_path, Error *error) {