mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
fixed the quick mouse OFF
This commit is contained in:
parent
e4d242c22c
commit
a47000e608
@ -603,7 +603,7 @@ void mainloopiter() {
|
|||||||
|
|
||||||
bool rollchange = (cmode & sm::OVERVIEW) && getcstat >= 2000 && cheater;
|
bool rollchange = (cmode & sm::OVERVIEW) && getcstat >= 2000 && cheater;
|
||||||
|
|
||||||
if(ev.type == SDL_MOUSEBUTTONDOWN) {
|
if(ev.type == SDL_MOUSEBUTTONDOWN || ev.type == SDL_MOUSEBUTTONUP) {
|
||||||
mousepressed = ev.type == SDL_MOUSEBUTTONDOWN;
|
mousepressed = ev.type == SDL_MOUSEBUTTONDOWN;
|
||||||
if(mousepressed) flashMessages();
|
if(mousepressed) flashMessages();
|
||||||
mousing = true;
|
mousing = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user