mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
fixed crashes in 'shift to target' option
This commit is contained in:
parent
d250abf1a4
commit
d618b10889
@ -872,7 +872,7 @@ EX void mainloopiter() {
|
||||
targetclick = pandora_leftclick | pandora_rightclick;
|
||||
pandora_leftclick = pandora_rightclick = 0;
|
||||
#else
|
||||
targetclick = keystate[SDLK_RSHIFT] | keystate[SDLK_LSHIFT];
|
||||
targetclick = keystate[SDL12(SDLK_RSHIFT, SDL_SCANCODE_RSHIFT)] | keystate[SDL12(SDLK_LSHIFT, SDL_SCANCODE_LSHIFT)];
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user