OPENPANDORA: Fix copy/paste error

This commit is contained in:
Cameron Cawley 2020-09-13 22:13:06 +01:00 committed by GitHub
parent 51bb9305a3
commit bab33f8b81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,7 +87,7 @@ bool OPEventSource::handleMouseButtonDown(SDL_Event &ev, Common::Event &event) {
bool OPEventSource::handleMouseButtonUp(SDL_Event &ev, Common::Event &event) {
if (ev.button.button != SDL_BUTTON_LEFT)
return SdlEventSource::handleMouseButtonDown(ev, event);
return SdlEventSource::handleMouseButtonUp(ev, event);
if (_buttonStateL == true) /* _buttonStateL = Left Trigger Held, force Right Click */
event.type = Common::EVENT_RBUTTONUP;