[client] fixed incorrect warpState
Credit to @Adam in Discord VFIO #looking-glass
This commit is contained in:
1 parent
36726bb349
commit
12da2fc0b7
1 file changed
+1
-1
+1
-1
@@ -797,7 +797,7 @@ static void handleMouseMoveEvent(int ex, int ey)
|
||||
{
|
||||
state.curLastX += state.warpToX - state.warpFromX;
|
||||
state.curLastY += state.warpToY - state.warpFromY;
|
||||
state.warpState = WARP_STATE_ON;
|
||||
state.warpState = state.serverMode ? WARP_STATE_ON : WARP_STATE_ARMED;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user