diff --git a/HotPatcher/Source/HotPatcherEditor/HotPatcherEditor.Build.cs b/HotPatcher/Source/HotPatcherEditor/HotPatcherEditor.Build.cs index 94ff4767..f501a536 100644 --- a/HotPatcher/Source/HotPatcherEditor/HotPatcherEditor.Build.cs +++ b/HotPatcher/Source/HotPatcherEditor/HotPatcherEditor.Build.cs @@ -97,7 +97,7 @@ public HotPatcherEditor(ReadOnlyTargetRules Target) : base(Target) "ENABLE_MULTI_COOKER=0", "TOOL_NAME=\"HotPatcher\"", "CURRENT_VERSION_ID=75", - "CURRENT_PATCH_ID=0", + "CURRENT_PATCH_ID=1", "REMOTE_VERSION_FILE=\"https://imzlp.com/opensource/version.json\"" }); diff --git a/HotPatcher/Source/HotPatcherRuntime/Private/FlibPakHelper.cpp b/HotPatcher/Source/HotPatcherRuntime/Private/FlibPakHelper.cpp index 561ade72..8e881ca7 100644 --- a/HotPatcher/Source/HotPatcherRuntime/Private/FlibPakHelper.cpp +++ b/HotPatcher/Source/HotPatcherRuntime/Private/FlibPakHelper.cpp @@ -404,7 +404,7 @@ bool PreLoadPak(const FString& InPakPath,const FString& AesKey) FSHAHash Hash; FMemory::Memcpy(Hash.Hash, -#if ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 23 +#if ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION >= 23 Info.IndexHash.Hash, #else Info.IndexHash,