mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-07 22:49:54 +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;
|
targetclick = pandora_leftclick | pandora_rightclick;
|
||||||
pandora_leftclick = pandora_rightclick = 0;
|
pandora_leftclick = pandora_rightclick = 0;
|
||||||
#else
|
#else
|
||||||
targetclick = keystate[SDLK_RSHIFT] | keystate[SDLK_LSHIFT];
|
targetclick = keystate[SDL12(SDLK_RSHIFT, SDL_SCANCODE_RSHIFT)] | keystate[SDL12(SDLK_LSHIFT, SDL_SCANCODE_LSHIFT)];
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user