Clear potential click after mouse button is released.

This commit is contained in:
Bartosz Taudul 2020-08-01 13:01:04 +02:00
parent 734b0c25d9
commit 498781b5bf

View File

@ -46,6 +46,10 @@ void MouseFrame()
} }
} }
} }
else if( !s_mouse.mouseDown[i] && !s_mouse.mouseReleased[i] )
{
s_mouse.mousePotentialClickRelease[i] = false;
}
} }
} }