fixed the quick mouse OFF

This commit is contained in:
Zeno Rogue 2017-08-18 03:24:15 +02:00
parent e4d242c22c
commit a47000e608
1 changed files with 1 additions and 1 deletions

View File

@ -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;