mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
fixed shift-clicking for orbs
This commit is contained in:
parent
009b05c919
commit
286f378c41
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user