Revert "OPENPANDORA: Fix copy/paste error"
Some checks failed
CI / Windows (push) Has been cancelled
Some checks failed
CI / Windows (push) Has been cancelled
This reverts commit bab33f8b81
.
Way too late for the release
This commit is contained in:
parent
bab33f8b81
commit
7b699460c6
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ bool OPEventSource::handleMouseButtonDown(SDL_Event &ev, Common::Event &event) {
|
||||||
|
|
||||||
bool OPEventSource::handleMouseButtonUp(SDL_Event &ev, Common::Event &event) {
|
bool OPEventSource::handleMouseButtonUp(SDL_Event &ev, Common::Event &event) {
|
||||||
if (ev.button.button != SDL_BUTTON_LEFT)
|
if (ev.button.button != SDL_BUTTON_LEFT)
|
||||||
return SdlEventSource::handleMouseButtonUp(ev, event);
|
return SdlEventSource::handleMouseButtonDown(ev, event);
|
||||||
|
|
||||||
if (_buttonStateL == true) /* _buttonStateL = Left Trigger Held, force Right Click */
|
if (_buttonStateL == true) /* _buttonStateL = Left Trigger Held, force Right Click */
|
||||||
event.type = Common::EVENT_RBUTTONUP;
|
event.type = Common::EVENT_RBUTTONUP;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue