mirror of
https://github.com/sinbad/StevesUEHelpers.git
synced 2025-02-23 17:45:23 +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
|
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
|
// Game-only mode captures permanently, that seems to be the best way to detect
|
||||||
if (CaptureMode == EMouseCaptureMode::CapturePermanently ||
|
if (CaptureMode == EMouseCaptureMode::CapturePermanently ||
|
||||||
CaptureMode == EMouseCaptureMode::CapturePermanently_IncludingInitialMouseDown)
|
CaptureMode == EMouseCaptureMode::CapturePermanently_IncludingInitialMouseDown)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user