BGE: Fixing the double-click issue for mouse events too. The previous fix only fixed double-click keyboard events.

This commit is contained in:
Mitchell Stokes 2012-11-29 05:21:24 +00:00
parent 858149d7c7
commit 5ce13d0c6c

@ -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 ; //???