From c9b4687ccee4d791f51cf6433866473e418c46f6 Mon Sep 17 00:00:00 2001 From: def Date: Tue, 25 Nov 2014 21:30:16 +0100 Subject: [PATCH] More time for double click recognition (0.33 instead of 0.25 seconds) (fixes #17) --- src/engine/client/input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/client/input.cpp b/src/engine/client/input.cpp index 672e2f6fd..2b2a4a479 100644 --- a/src/engine/client/input.cpp +++ b/src/engine/client/input.cpp @@ -98,7 +98,7 @@ void CInput::MouseModeRelative() int CInput::MouseDoubleClick() { - if(m_ReleaseDelta >= 0 && m_ReleaseDelta < (time_freq() >> 2)) + if(m_ReleaseDelta >= 0 && m_ReleaseDelta < (time_freq() / 3)) { m_LastRelease = 0; m_ReleaseDelta = -1;