mirror of
https://github.com/sinbad/StevesUEHelpers.git
synced 2025-02-23 17:45:23 +00:00
Merge pull request #1 from alpha-channel-games/master
Update MenuStack.cpp to compile on 4.26
This commit is contained in:
commit
c78d01fe55
@ -48,7 +48,12 @@ void UMenuStack::SavePreviousInputMousePauseState()
|
||||
}
|
||||
else
|
||||
{
|
||||
#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