mirror of
https://github.com/sinbad/StevesUEHelpers.git
synced 2025-02-23 09:35:25 +00:00
Update MenuStack.cpp to compile on 4.26
This commit is contained in:
parent
77d4925712
commit
e2dc925ff4
@ -48,7 +48,12 @@ void UMenuStack::SavePreviousInputMousePauseState()
|
||||
}
|
||||
else
|
||||
{
|
||||
const auto CaptureMode = GVC->CaptureMouseOnClick();
|
||||
#if ENGINE_MINOR_VERSION >= 26
|
||||
const auto CaptureMode = GVC->GetMouseCaptureMode();
|
||||
#else
|
||||
const auto CaptureMode = GVC->CaptureMouseOnClick();
|
||||
#endif
|
||||
|
||||
// Game-only mode captures permanently, that seems to be the best way to detect
|
||||
if (CaptureMode == EMouseCaptureMode::CapturePermanently ||
|
||||
CaptureMode == EMouseCaptureMode::CapturePermanently_IncludingInitialMouseDown)
|
||||
|
Loading…
x
Reference in New Issue
Block a user