BGE: Fixing the double-click issue for mouse events too. The previous fix only fixed...
[blender.git] / source / gameengine / BlenderRoutines / KX_BlenderMouseDevice.cpp
index aa2392ded0884fd97361aabfbe1211cd9b4efc8a..8d90eacd27f960c63970c98541c35b789e01be17 100644 (file)
@@ -121,7 +121,7 @@ bool        KX_BlenderMouseDevice::ConvertBlenderEvent(unsigned short incode,short val)
        // only process it, if it's a key
        if (kxevent > KX_BEGINMOUSE && kxevent < KX_ENDMOUSEBUTTONS)
        {
-               if (val == KM_PRESS)
+               if (val == KM_PRESS || val == KM_DBL_CLICK)
                {
                        m_eventStatusTables[m_currentTable][kxevent].m_eventval = val ; //???