Small bug fix.

This commit is contained in:
The Dax 2013-08-19 07:17:11 -04:00
parent 4f76c3f4fb
commit 72c9887fc6

View File

@ -1125,7 +1125,7 @@ namespace MainWindow
KeyInput key;
key.deviceId = DEVICE_ID_MOUSE;
bool mouseRightBtnPressed = raw->data.mouse.usButtonFlags & RI_MOUSE_RIGHT_BUTTON_DOWN != 0;
bool mouseRightBtnPressed = raw->data.mouse.usButtonFlags & RI_MOUSE_RIGHT_BUTTON_DOWN;
if(mouseRightBtnPressed) {
key.flags = KEY_DOWN;