one last horrible bug

This commit is contained in:
iProgramInCpp
2023-08-20 02:03:13 +03:00
parent 4a7be6918f
commit a35318fc7f
2 changed files with 5 additions and 3 deletions

View File

@@ -16,6 +16,8 @@ Mouse::ButtonState Mouse::_buttonStates[Mouse::ButtonType::COUNT];
void Mouse::feed(ButtonType buttonType, ButtonState buttonState, int posX, int posY)
{
if(buttonType!=ButtonType::NONE)
LogMsg("Fuck %d %d", buttonType, buttonState);
if (buttonType != ButtonType::NONE)
_inputs.push_back(MouseAction(buttonType, buttonState, posX, posY));