1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-19 11:49:59 +00:00

fixed shift-clicking for orbs

This commit is contained in:
Zeno Rogue 2020-04-19 22:50:31 +02:00
parent 009b05c919
commit 286f378c41

View File

@ -892,7 +892,7 @@ EX void handle_event(SDL_Event& ev) {
if(ev.button.button == SDL_BUTTON_LEFT) {
if(ISPANDORA ? pandora_rightclick : lctrlclick)
ev.button.button = SDL_BUTTON_MIDDLE;
else if(ISPANDORA ? pandora_leftclick : lshiftclick)
else if((ISPANDORA ? pandora_leftclick : lshiftclick) && !(vid.shifttarget&1))
ev.button.button = SDL_BUTTON_RIGHT;
}