From a47000e608f42b7f350fdbd62c56903a22a13f60 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 18 Aug 2017 03:24:15 +0200 Subject: [PATCH] fixed the quick mouse OFF --- control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control.cpp b/control.cpp index 9fb67aaf..50e86045 100644 --- a/control.cpp +++ b/control.cpp @@ -603,7 +603,7 @@ void mainloopiter() { 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; if(mousepressed) flashMessages(); mousing = true;