Merge pull request #3 from brianrogers/ue5-support

Enable ue5 support in MenuStack
This commit is contained in:
Steve Streeting 2022-01-17 12:12:55 +00:00 committed by GitHub
commit 51a57c35ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,8 @@ void UMenuStack::SavePreviousInputMousePauseState()
}
else
{
#if ENGINE_MINOR_VERSION >= 26
#if (ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION >= 26) || ENGINE_MAJOR_VERSION >= 5
const auto CaptureMode = GVC->GetMouseCaptureMode();
#else
const auto CaptureMode = GVC->CaptureMouseOnClick();