mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-22 03:13:15 -04:00
clang-format
This commit is contained in:
parent
cf51812a6f
commit
81fc72a5b8
@ -76,8 +76,7 @@ namespace MWInput
|
||||
winMgr->setCursorActive(true);
|
||||
|
||||
// Check if this movement is from our recent mouse warp
|
||||
bool isFromWarp = (mLastWarpX >= 0 && mLastWarpY >= 0
|
||||
&& std::abs(mGuiCursorX - mLastWarpX) < 0.5f
|
||||
bool isFromWarp = (mLastWarpX >= 0 && mLastWarpY >= 0 && std::abs(mGuiCursorX - mLastWarpX) < 0.5f
|
||||
&& std::abs(mGuiCursorY - mLastWarpY) < 0.5f);
|
||||
|
||||
if (Settings::gui().mControllerMenus && !winMgr->getCursorVisible()
|
||||
|
Loading…
x
Reference in New Issue
Block a user