[client] fixed incorrect warpState

Credit to @Adam in Discord VFIO #looking-glass
This commit is contained in:
Geoffrey McRae 2020-11-09 22:24:40 +11:00
parent 36726bb349
commit 12da2fc0b7

View File

@ -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;
}
}